ostore.rp
Class CreateObjectReqMsg

java.lang.Object
  |
  +--dd.api.DDRouteMsg
        |
        +--ostore.rp.CreateObjectReqMsg
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class CreateObjectReqMsg
extends DDRouteMsg

Request to create a new object. We don't need to MAC this message, since all the important information is signed.


Field Summary
 QSArray initial_update
           
 SignedQS signed_req
           
 
Fields inherited from class dd.api.DDRouteMsg
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL
 
Constructor Summary
CreateObjectReqMsg(InputBuffer buffer)
           
CreateObjectReqMsg(SecureHash rp_guid, SignedQS signed_req, QSArray initial_update, boolean recursive, boolean dd_intermediate_upcall, boolean one_hop)
           
 
Method Summary
 SecureHash branch()
           
 CreateObjectReq req()
           
 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

signed_req

public SignedQS signed_req

initial_update

public QSArray initial_update
Constructor Detail

CreateObjectReqMsg

public CreateObjectReqMsg(SecureHash rp_guid,
                          SignedQS signed_req,
                          QSArray initial_update,
                          boolean recursive,
                          boolean dd_intermediate_upcall,
                          boolean one_hop)

CreateObjectReqMsg

public CreateObjectReqMsg(InputBuffer buffer)
                   throws QSException
Method Detail

req

public final CreateObjectReq req()

serialize

public void serialize(OutputBuffer buffer)
Description copied from interface: QuickSerializable
Add the object to the buffer.

Specified by:
serialize in interface QuickSerializable
Overrides:
serialize in class DDRouteMsg
Parameters:
buffer - the output buffer to add the object to

toString

public String toString()
Overrides:
toString in class Object

branch

public SecureHash branch()