demo.repair
Class RepairDHTTest.Response

java.lang.Object
  |
  +--ostore.network.NetworkMessage
        |
        +--demo.repair.RepairDHTTest.Response
All Implemented Interfaces:
Cloneable, QueueElementIF, QuickSerializable
Enclosing class:
RepairDHTTest

public static class RepairDHTTest.Response
extends NetworkMessage

Response is the roots response to a LocateMsg.


Field Summary
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, est_rtt_ms, inbound, peer, sender, tries, user_data, wait_ms
 
Constructor Summary
RepairDHTTest.Response(InputBuffer buffer)
          Construct according to the given fields.
RepairDHTTest.Response(NodeId peer, int hopcount, long time, SecureHash guid, SecureHash root_guid, boolean success)
          Construct according to the given fields.
 
Method Summary
 Object clone()
          Specified by java.lang.Object
 void serialize(OutputBuffer buffer)
          Specified by ostore.util.QuickSerializable
 String toString()
          Specified by java.lang.Object
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepairDHTTest.Response

public RepairDHTTest.Response(NodeId peer,
                              int hopcount,
                              long time,
                              SecureHash guid,
                              SecureHash root_guid,
                              boolean success)
Construct according to the given fields.


RepairDHTTest.Response

public RepairDHTTest.Response(InputBuffer buffer)
                       throws QSException
Construct according to the given fields.

Method Detail

serialize

public void serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerializable

Specified by:
serialize in interface QuickSerializable
Overrides:
serialize in class NetworkMessage

clone

public Object clone()
             throws CloneNotSupportedException
Specified by java.lang.Object

Overrides:
clone in class NetworkMessage
CloneNotSupportedException

toString

public String toString()
Specified by java.lang.Object

Overrides:
toString in class NetworkMessage