ostore.apps.qtree.impl
Class QTreeDownMsgAck

java.lang.Object
  |
  +--ostore.network.NetworkMessage
        |
        +--ostore.apps.qtree.impl.QTreeDownMsgAck
All Implemented Interfaces:
Cloneable, QueueElementIF, QuickSerializable

public class QTreeDownMsgAck
extends NetworkMessage

Author:
Jason Lee

Field Summary
 long id
           
 NodeId source_node
           
protected  SecureHash treeId
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, est_rtt_ms, inbound, peer, sender, tries, user_data, wait_ms
 
Constructor Summary
QTreeDownMsgAck(InputBuffer buffer)
           
QTreeDownMsgAck(NodeId peer, boolean inbound, SecureHash treeId, long id, NodeId source_node)
           
 
Method Summary
 boolean equals(Object o)
           
 SecureHash getTreeId()
           
 int hashCode()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 void setTreeId(SecureHash tree)
           
 String toString()
           
 
Methods inherited from class ostore.network.NetworkMessage
clone
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

treeId

protected SecureHash treeId

id

public long id

source_node

public NodeId source_node
Constructor Detail

QTreeDownMsgAck

public QTreeDownMsgAck(NodeId peer,
                       boolean inbound,
                       SecureHash treeId,
                       long id,
                       NodeId source_node)

QTreeDownMsgAck

public QTreeDownMsgAck(InputBuffer buffer)
                throws QSException
Method Detail

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

getTreeId

public SecureHash getTreeId()

setTreeId

public void setTreeId(SecureHash tree)

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