ostore.apps.qtree.impl
Class QTreeGroupMsg
java.lang.Object
|
+--ostore.network.NetworkMessage
|
+--ostore.apps.qtree.impl.QTreeGroupMsg
- All Implemented Interfaces:
- Cloneable, QueueElementIF, QuickSerializable
- public class QTreeGroupMsg
- extends NetworkMessage
- Author:
- Jason Lee
parent
protected SecureHash parent
treeKey
protected TreeKey treeKey
path
protected QSVector path
delay_build
protected boolean delay_build
QTreeGroupMsg
public QTreeGroupMsg(NodeId peer,
SecureHash leader,
TreeKey key,
QSVector leaderPath,
boolean delay)
QTreeGroupMsg
public QTreeGroupMsg(InputBuffer buffer)
throws QSException
getParent
public SecureHash getParent()
getTreeKey
public TreeKey getTreeKey()
setTreeId
public void setTreeId(TreeKey key)
isDelayed
public boolean isDelayed()
getPath
public QSVector getPath()
setPath
public void setPath(QSVector leaderPath)
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