ostore.inner
Class UpdateRespMsg
java.lang.Object
|
+--ostore.inner.UpdateRespMsg
- All Implemented Interfaces:
- QueueElementIF, QuickSerializable
- public class UpdateRespMsg
- extends Object
- implements QueueElementIF, QuickSerializable
The response to an update request. Now sent down the dissemination
tree, so no longer a TapestryRouteMsg
.
We don't need to MAC this message,
since all the important information is signed.
update_resp
public SignedQS update_resp
applied_actions
public QSArray applied_actions
- The action that was applied; can be verified by the secure hash
included in the signed UpdateResp. This may be an array with zero
elements, in the case that the DTree is using the UpdateRespMsg as
an invalidate rather than an update to existing replica.
update
public Update update
UpdateRespMsg
public UpdateRespMsg(SignedQS update_resp,
QSArray actions,
Update update)
UpdateRespMsg
public UpdateRespMsg(InputBuffer buffer)
throws QSException
serialize
public void serialize(OutputBuffer buffer)
- Description copied from interface:
QuickSerializable
- Add the object to the
buffer
.
- Specified by:
serialize
in interface QuickSerializable
- Parameters:
buffer
- the output buffer to add the object to
toString
public String toString()
- Overrides:
toString
in class Object