ostore.apps.qtree.impl
Class QTreeCloseMsg
java.lang.Object
|
+--ostore.network.NetworkMessage
|
+--ostore.apps.qtree.impl.QTreeCloseMsg
- All Implemented Interfaces:
- Cloneable, QueueElementIF, QuickSerializable
- public class QTreeCloseMsg
- extends NetworkMessage
- Author:
- Jason Lee
key
protected TreeKey key
parent
protected GuidAddr parent
recp
protected SecureHash recp
QTreeCloseMsg
public QTreeCloseMsg(NodeId peer,
boolean inbound,
TreeKey key,
GuidAddr parent,
SecureHash recp)
QTreeCloseMsg
public QTreeCloseMsg(InputBuffer buffer)
throws QSException
getTreeKey
public TreeKey getTreeKey()
getRecp
public SecureHash getRecp()
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
getParent
public GuidAddr getParent()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object