demo.repair
Class RepairDHTTest.LocateMsg

java.lang.Object
  |
  +--dd.api.DDPrefixRouteMsg
        |
        +--demo.repair.RepairDHTTest.LocateMsg
All Implemented Interfaces:
QueueElementIF, QuickSerializable
Enclosing class:
RepairDHTTest

public static class RepairDHTTest.LocateMsg
extends DDPrefixRouteMsg

Message of type simulating DDLocateMsg by using a DDPrefixRouteMsg to route to the root of an object guid, test if the root has an object pointer, than the root node responds with a ResponseMsg that contains success or failure.


Field Summary
 
Fields inherited from class dd.api.DDPrefixRouteMsg
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL
 
Constructor Summary
RepairDHTTest.LocateMsg(InputBuffer buffer)
          Construct according to the given fields.
RepairDHTTest.LocateMsg(SecureHash guid, NodeId requestor, boolean recursive_route, boolean dd_intermediate_upcall, boolean one_hop)
          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.LocateMsg

public RepairDHTTest.LocateMsg(SecureHash guid,
                               NodeId requestor,
                               boolean recursive_route,
                               boolean dd_intermediate_upcall,
                               boolean one_hop)
Construct according to the given fields.


RepairDHTTest.LocateMsg

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

Method Detail

serialize

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


clone

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

Overrides:
clone in class Object
CloneNotSupportedException

toString

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

Overrides:
toString in class Object