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

Field Summary
protected  boolean ack
           
protected  GuidAddr child
           
protected  TreeKey key
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, est_rtt_ms, inbound, peer, sender, tries, user_data, wait_ms
 
Constructor Summary
QTreeCloseMsgAck(InputBuffer buffer)
           
QTreeCloseMsgAck(NodeId peer, boolean ack, GuidAddr child, TreeKey key)
           
 
Method Summary
 boolean equals(Object o)
           
 GuidAddr getChild()
           
 SecureHash getGuid()
           
 NodeId getNodeId()
           
 TreeKey getTreeKey()
           
 int hashCode()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 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

key

protected TreeKey key

child

protected GuidAddr child

ack

protected boolean ack
Constructor Detail

QTreeCloseMsgAck

public QTreeCloseMsgAck(NodeId peer,
                        boolean ack,
                        GuidAddr child,
                        TreeKey key)

QTreeCloseMsgAck

public QTreeCloseMsgAck(InputBuffer buffer)
                 throws QSException
Method Detail

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