ostore.apps.qtree.impl
Class QTreeCloseMsgAck
java.lang.Object
|
+--ostore.network.NetworkMessage
|
+--ostore.apps.qtree.impl.QTreeCloseMsgAck
- All Implemented Interfaces:
- Cloneable, QueueElementIF, QuickSerializable
- public class QTreeCloseMsgAck
- extends NetworkMessage
- Author:
- Jason Lee
key
protected TreeKey key
child
protected GuidAddr child
ack
protected boolean ack
QTreeCloseMsgAck
public QTreeCloseMsgAck(NodeId peer,
boolean ack,
GuidAddr child,
TreeKey key)
QTreeCloseMsgAck
public QTreeCloseMsgAck(InputBuffer buffer)
throws QSException
getTreeKey
public TreeKey getTreeKey()
serialize
public void serialize(OutputBuffer buffer)
- Description copied from interface:
QuickSerializable
- Add the object to the
buffer
.
- Specified by:
serialize
in interface QuickSerializable
- Overrides:
serialize
in class NetworkMessage
- Parameters:
buffer
- the output buffer to add the object to
toString
public String toString()
- Overrides:
toString
in class NetworkMessage
getChild
public GuidAddr getChild()
getGuid
public SecureHash getGuid()
getNodeId
public NodeId getNodeId()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object