ostore.util
Class NonceMsg
java.lang.Object
|
+--ostore.network.NetworkMessage
|
+--ostore.util.NonceAckMsg
|
+--ostore.util.NonceMsg
- All Implemented Interfaces:
- Cloneable, QueueElementIF, QuickSerializable
- public abstract class NonceMsg
- extends NonceAckMsg
- implements QuickSerializable
NonceMsg
public NonceMsg(NodeId peer)
NonceMsg
public NonceMsg(InputBuffer buffer)
throws QSException
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 NonceAckMsg
- Parameters:
buffer
- the output buffer to add the object to
getNonce
public int getNonce()
setNonce
public void setNonce(int nonce)
toString
public String toString()
- Overrides:
toString
in class NetworkMessage