ostore.util
Class NonceAckMsg

java.lang.Object
  |
  +--ostore.network.NetworkMessage
        |
        +--ostore.util.NonceAckMsg
All Implemented Interfaces:
Cloneable, QueueElementIF, QuickSerializable
Direct Known Subclasses:
NonceMsg

public class NonceAckMsg
extends NetworkMessage
implements QuickSerializable


Field Summary
 short stage_id
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, est_rtt_ms, inbound, peer, sender, tries, user_data, wait_ms
 
Constructor Summary
NonceAckMsg(InputBuffer buffer)
           
NonceAckMsg(NodeId peer)
           
 
Method Summary
 void addNonceAck(int nonce)
           
 Object clone()
           
 int[] getNonceAcks()
           
 short getStageId()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 void setStageId(short stageId)
           
 
Methods inherited from class ostore.network.NetworkMessage
toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

stage_id

public short stage_id
Constructor Detail

NonceAckMsg

public NonceAckMsg(NodeId peer)

NonceAckMsg

public NonceAckMsg(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

setStageId

public void setStageId(short stageId)

getStageId

public short getStageId()

addNonceAck

public void addNonceAck(int nonce)

getNonceAcks

public int[] getNonceAcks()

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class NetworkMessage
CloneNotSupportedException