|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--tapestry.api.TapestryRouteMsg | +--tapestry.api.TapestryRepairObjResp
TapestryRepairObjResp
is a
response
sent from a
server to a root
tapestry
node
acknowledging that the server received the
TapestryRepairObjReq
and will repair
the object.
The root
node will know the object is repaired when the
number of ptrs
increase.
The TapestryRepairObjResp
is provided
as a clean way for the root
node to know an object is being
repaired without having to send the TapestryRepairObjReq
to all the remaining servers and without having to wait for the
ptrs
to increase.
Field Summary |
---|
Fields inherited from class tapestry.api.TapestryRouteMsg |
---|
hopCount, inbound, peer, qos, TTL |
Constructor Summary | |
---|---|
TapestryRepairObjResp(InputBuffer buffer)
Constructs a TapestryRepairObjResp from its
serialized form. |
|
TapestryRepairObjResp(SecureHash node,
SecureHash objguid,
TapestryThresholdTag tag)
Constucts a TapestryRepairObjResp from specified parameters. |
Method Summary | |
---|---|
SecureHash |
getObjguid()
getObjguid returns the
identifier of object that needs
to be repaired. |
TapestryThresholdTag |
getTag()
getTag returns the
Tag
of the object that needs to be repaired. |
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 |
Constructor Detail |
public TapestryRepairObjResp(SecureHash node, SecureHash objguid, TapestryThresholdTag tag)
TapestryRepairObjResp
from specified parameters.
node
- Server that needs to repair object.objguid
- identifier
of
object that needs to be repaired.tag
- Tag
of the object that needs to be repaired.public TapestryRepairObjResp(InputBuffer buffer) throws QSException
TapestryRepairObjResp
from its
serialized
form.
buffer
- serialized
form of object.Method Detail |
public SecureHash getObjguid()
getObjguid
returns the
identifier
of object that needs
to be repaired.
identifier
of object
that needs to be repaired.public TapestryThresholdTag getTag()
getTag
returns the
Tag
of the object that needs to be repaired.
Tag
of the object that needs to be repaired.public void serialize(OutputBuffer buffer)
serialize
in interface QuickSerializable
serialize
in class TapestryRouteMsg
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |