dd.trigger
Class TriggerTester.RepairResp

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

public static class TriggerTester.RepairResp
extends DDRouteMsg

RepairResp is request sent by the leader node responsible for coordinating the repair of an object replicated on a set of nodes.


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.RepairResp(InputBuffer buffer)
          Constructs a RepairResp from its serialized form.
TriggerTester.RepairResp(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 RepairResp.
 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.RepairResp

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


TriggerTester.RepairResp

public TriggerTester.RepairResp(InputBuffer buffer)
                         throws QSException
Constructs a RepairResp 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 RepairResp.

Returns:
the guid specified in the RepairResp.

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