tapestry.ptr.impl
Class TriggerTester.RepairReq

java.lang.Object
  |
  +--tapestry.api.TapestryRouteMsg
        |
        +--tapestry.ptr.impl.TriggerTester.RepairReq
All Implemented Interfaces:
QueueElementIF, QuickSerializable
Enclosing class:
TriggerTester

public static class TriggerTester.RepairReq
extends TapestryRouteMsg

RepairReq 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 tapestry.api.TapestryRouteMsg
hopCount, inbound, peer, qos, TTL
 
Constructor Summary
TriggerTester.RepairReq(InputBuffer buffer)
          Constructs a RepairReq from its serialized form.
TriggerTester.RepairReq(SecureHash peer, SecureHash objguid)
          Construct according to the given fields.
 
Method Summary
 SecureHash getObjguid()
          getObjguid returns the guid of the originally requested obj specified in the RepairReq.
 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.RepairReq

public TriggerTester.RepairReq(SecureHash peer,
                               SecureHash objguid)
Construct according to the given fields.


TriggerTester.RepairReq

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

Returns:
the guid specified in the RepairReq.

serialize

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

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

toString

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

Overrides:
toString in class Object