ostore.tapestry.impl
Class TestNetworkMsg

java.lang.Object
  |
  +--ostore.network.NetworkMessage
        |
        +--ostore.tapestry.impl.TestNetworkMsg
All Implemented Interfaces:
Cloneable, QueueElementIF, QuickSerializable

public class TestNetworkMsg
extends NetworkMessage
implements QuickSerializable


Field Summary
 double failure
           
 long time
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, inbound, peer, sender, tries, user_data
 
Constructor Summary
TestNetworkMsg(InputBuffer buffer)
           
TestNetworkMsg(NodeId peer, long time, double failure)
           
 
Method Summary
 Object clone()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

time

public long time

failure

public double failure
Constructor Detail

TestNetworkMsg

public TestNetworkMsg(NodeId peer,
                      long time,
                      double failure)

TestNetworkMsg

public TestNetworkMsg(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
Following copied from interface: ostore.util.QuickSerializable
Parameters:
buffer - the output buffer to add the object to

clone

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

toString

public String toString()
Overrides:
toString in class NetworkMessage