ostore.apps.qtree.impl
Class QTreeGroupMsgAck
java.lang.Object
|
+--ostore.network.NetworkMessage
|
+--ostore.apps.qtree.impl.QTreeGroupMsgAck
- All Implemented Interfaces:
- Cloneable, QueueElementIF, QuickSerializable
- public class QTreeGroupMsgAck
- extends NetworkMessage
- Author:
- Jason Lee
key
protected TreeKey key
ack
protected boolean ack
child
protected GuidAddr child
OPEN
public static final int OPEN
- See Also:
- Constant Field Values
CLOSE
public static final int CLOSE
- See Also:
- Constant Field Values
FAILURE
public static final int FAILURE
- See Also:
- Constant Field Values
QTreeGroupMsgAck
public QTreeGroupMsgAck(NodeId peer,
GuidAddr childGuid,
TreeKey key,
boolean acknowledgement)
QTreeGroupMsgAck
public QTreeGroupMsgAck(InputBuffer buffer)
throws QSException
getTreeKey
public TreeKey getTreeKey()
getChild
public GuidAddr getChild()
getAck
public boolean getAck()
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
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object