ostore.network
Class TputTest.Msg

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

public static class TputTest.Msg
extends NetworkMessage


Field Summary
 int size
           
 int value
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, est_rtt_ms, inbound, peer, sender, tries, user_data, wait_ms
 
Constructor Summary
TputTest.Msg(InputBuffer buffer)
           
TputTest.Msg(NodeId peer, int v, int sz)
           
 
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

size

public int size
Constructor Detail

TputTest.Msg

public TputTest.Msg(NodeId peer,
                    int v,
                    int sz)

TputTest.Msg

public TputTest.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