|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dd.api.DDRouteMsg | +--dd.api.DDMacRouteMsg | +--ostore.archive.ArchiverLocateRespMsg
ArchiverLocateRespMsg
is the
ArchiverStage
's response to an
ArchiverLocateReqMsg
and containing the identifier of the
node
or app
.
To register node
or
app
, dispatch a
ArchiverLocateReqMsg
.
When the ArchiverStage
receives the message, it will
respond with a
ArchiverLocateRespMsg
that is MAC'd (i.e. Message Authentication
Certificate).
ArchiverStage
,
ArchiverLocateReqMsg
,
DDMacRouteMsg
Field Summary |
---|
Fields inherited from class dd.api.DDRouteMsg |
---|
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL |
Constructor Summary | |
---|---|
ArchiverLocateRespMsg(InputBuffer buffer)
Constructs a ArchiverLocateRespMsg from its
serialized form. |
|
ArchiverLocateRespMsg(SecureHash requestorGuid,
SecureHash identifier,
QuickSerializable resp,
boolean recursive,
boolean dd_intermediate_upcall,
boolean one_hop)
Construct according to the given fields. |
Method Summary | |
---|---|
SecureHash |
getIdentifier()
getIdentifier returns the identifier. |
QuickSerializable |
getResponse()
getResponse returns the response from the ArchiverStage. |
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 ArchiverLocateRespMsg(SecureHash requestorGuid, SecureHash identifier, QuickSerializable resp, boolean recursive, boolean dd_intermediate_upcall, boolean one_hop)
public ArchiverLocateRespMsg(InputBuffer buffer) throws QSException
ArchiverLocateRespMsg
from its
serialized
form.
buffer
- serialized
form of object.Method Detail |
public final SecureHash getIdentifier()
getIdentifier
returns the identifier.
public final QuickSerializable getResponse()
getResponse
returns the response from the ArchiverStage.
public void serialize(OutputBuffer buffer)
serialize
in interface QuickSerializable
serialize
in class DDRouteMsg
buffer
- the output buffer to add the object topublic String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |