|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--tapestry.api.TapestryRouteMsg | +--tapestry.impl.test.RepairDirectoryTest2.DisseminateResp
DisseminateResp
is either an ack
or
nack
response sent to the leader acknowedging
the receipt of the disseminatable and the willingness to be a
storage server. The leader node responsible for coordinating the
repair of an object replicated on a set of nodes.
Field Summary |
---|
Fields inherited from class tapestry.api.TapestryRouteMsg |
---|
hopCount, inbound, peer, qos, TTL |
Constructor Summary | |
---|---|
RepairDirectoryTest2.DisseminateResp(InputBuffer buffer)
Constructs a DisseminateResp from its
serialized form. |
|
RepairDirectoryTest2.DisseminateResp(SecureHash peer,
SecureHash objguid,
TapestryThresholdTag ttag,
boolean ack)
Construct according to the given fields. |
Method Summary | |
---|---|
boolean |
getAck()
getAck returns the ack (i.e. the willingness to store
the disseminatable). |
SecureHash |
getObjguid()
getObjguid returns the guid of the originally requested
obj specified in the DisseminateResp. |
TapestryThresholdTag |
getTag()
getTag returns the
TapestryThresholdTag associated with the
objguid . |
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 RepairDirectoryTest2.DisseminateResp(SecureHash peer, SecureHash objguid, TapestryThresholdTag ttag, boolean ack)
public RepairDirectoryTest2.DisseminateResp(InputBuffer buffer) throws QSException
DisseminateResp
from its
serialized
form.
buffer
- serialized
form of object.Method Detail |
public final boolean getAck()
getAck
returns the ack (i.e. the willingness to store
the disseminatable).
public final SecureHash getObjguid()
getObjguid
returns the guid of the originally requested
obj specified in the DisseminateResp.
public final TapestryThresholdTag getTag()
getTag
returns the
TapestryThresholdTag
associated with the
objguid
.
TapestryThresholdTag
associated to the objguid
.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 |