dd.trigger
Class TriggerTester.FoundMsg

java.lang.Object
  |
  +--dd.api.DDRouteMsg
        |
        +--dd.trigger.TriggerTester.FoundMsg
All Implemented Interfaces:
QueueElementIF, QuickSerializable
Enclosing class:
TriggerTester

public static class TriggerTester.FoundMsg
extends DDRouteMsg

FoundMsg is the servers response to a LocateMsg and containing either a generic object.


Field Summary
 SecureHash objguid
           
 
Fields inherited from class dd.api.DDRouteMsg
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL
 
Constructor Summary
TriggerTester.FoundMsg(InputBuffer buffer)
          Constructs a FoundMsg from its serialized form.
TriggerTester.FoundMsg(SecureHash peer, SecureHash objguid, boolean recursive_route, boolean dd_intermediate_upcall, boolean one_hop)
          Construct according to the given fields.
 
Method Summary
 SecureHash getObjguid()
          getObjguid returns the guid of the originally requested obj specified in the LocateMsg.
 void serialize(OutputBuffer buffer)
          Specified by ostore.util.QuickSerializable
 String toString()
          Specified by java.lang.Object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

objguid

public SecureHash objguid
Constructor Detail

TriggerTester.FoundMsg

public TriggerTester.FoundMsg(SecureHash peer,
                              SecureHash objguid,
                              boolean recursive_route,
                              boolean dd_intermediate_upcall,
                              boolean one_hop)
Construct according to the given fields.


TriggerTester.FoundMsg

public TriggerTester.FoundMsg(InputBuffer buffer)
                       throws QSException
Constructs a FoundMsg from its serialized form.

Parameters:
buffer - serialized form of object.
Method Detail

getObjguid

public final SecureHash getObjguid()
getObjguid returns the guid of the originally requested obj specified in the LocateMsg.

Returns:
the guid specified in the FoundMsg.

serialize

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

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

toString

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

Overrides:
toString in class Object