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.


Field Summary
 QSArray applied_actions
          The action that was applied; can be verified by the secure hash included in the signed UpdateResp.
 Update update
           
 SignedQS update_resp
           
 
Constructor Summary
UpdateRespMsg(InputBuffer buffer)
           
UpdateRespMsg(SignedQS update_resp, QSArray actions, Update update)
           
 
Method Summary
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

UpdateRespMsg

public UpdateRespMsg(SignedQS update_resp,
                     QSArray actions,
                     Update update)

UpdateRespMsg

public UpdateRespMsg(InputBuffer buffer)
              throws QSException
Method Detail

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