ostore.network
Class SimpleTest.Msg

java.lang.Object
  |
  +--ostore.network.NetworkMessage
        |
        +--ostore.network.SimpleTest.Msg
All Implemented Interfaces:
Cloneable, QueueElementIF, QuickSerializable
Enclosing class:
SimpleTest

public static class SimpleTest.Msg
extends NetworkMessage


Field Summary
 int value
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, est_rtt_ms, inbound, peer, sender, tries, user_data, wait_ms
 
Constructor Summary
SimpleTest.Msg(InputBuffer buffer)
           
SimpleTest.Msg(NodeId peer, int v)
           
 
Method Summary
 Object clone()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 
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

value

public int value
Constructor Detail

SimpleTest.Msg

public SimpleTest.Msg(NodeId peer,
                      int v)

SimpleTest.Msg

public SimpleTest.Msg(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

clone

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