|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.inner.TimedHeartbeatRespMsg
The response to a timed hearbeat request. Now sent down the
dissemination tree, so no longer a TapestryRouteMsg
.
Field Summary | |
---|---|
SecureHash |
aguid
The AGUID of the requested heartbeat. |
SignedQS |
signed_hb
This could be any one of a number of things. |
Constructor Summary | |
---|---|
TimedHeartbeatRespMsg(InputBuffer buffer)
|
|
TimedHeartbeatRespMsg(SecureHash aguid,
SignedQS signed_hb)
|
Method Summary | |
---|---|
Heartbeat |
hb()
Extracts the Heartbeat object from the
signed_hb member and returns it. |
void |
serialize(OutputBuffer buffer)
Add the object to the buffer . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public SignedQS signed_hb
Heartbeat
, or it could be an UpdateResp
, or
it could be a LatestHeartbeatResp
. Generally, the inner
ring will just send whatever certificate it has with the latest
timestamp available. Thus the function hb()
, below, can be
used to extract the actual Heartbeat
object from this
SignedQS
. Note, however, that in order to ensure this
is a valid Heartbeat
, the signature in the
SignedQS
should still be verified. See the comments in
Heartbeat
for information about why this is so screwy.
hb()
public SecureHash aguid
Constructor Detail |
public TimedHeartbeatRespMsg(SecureHash aguid, SignedQS signed_hb)
public TimedHeartbeatRespMsg(InputBuffer buffer) throws QSException
Method Detail |
public Heartbeat hb()
Heartbeat
object from the
signed_hb
member and returns it.
Heartbeat
object from the
signed_hb
membersigned_hb
public void serialize(OutputBuffer buffer)
QuickSerializable
buffer
.
serialize
in interface QuickSerializable
buffer
- the output buffer to add the object to
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |