ostore.rp
Class ObjectCreateReq

java.lang.Object
  |
  +--ostore.rp.ObjectCreateReq
All Implemented Interfaces:
QuickSerializable

public class ObjectCreateReq
extends Object
implements QuickSerializable

Message sent from the RP to the members of the IR to inform them that they are part of a ring for a new object. A new object is created according to the following timing diagram:

   Client                     RP                     Inner Ring
   ======                     ==                     ==========
      |  CreateObjectReqMsg   |                           |
      |---------------------->|   InnerRingCreateReqMsg   |
      |                       |-------------------------->|  } Done for
      |                       |                           |  } first 
      |                       |   InnerRingCreateRespMsg  |  } object
      |                       |<--------------------------|  } only
      |                       |                           |
      |                       |   ObjectCreateReqMsg      |
      |                       |-------------------------->|
      | CreateObjectRespMsg   |                           |
      |<----------------------|                           |

Version:
$Id: ObjectCreateReq.java,v 1.14 2004/02/13 23:15:39 rrubin Exp $
Author:
Sean C. Rhea

Field Summary
 PRCert ir_key_cert
           
 SignedQS signed_client_req
           
 
Constructor Summary
ObjectCreateReq(InputBuffer buffer)
           
ObjectCreateReq(SignedQS signed_client_req, PRCert ir_key_cert)
           
 
Method Summary
 SecureHash aguid()
           
 SecureHash branch()
           
 SecureHash branchhead()
           
 CreateObjectReq client_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_client_req

public SignedQS signed_client_req

ir_key_cert

public PRCert ir_key_cert
Constructor Detail

ObjectCreateReq

public ObjectCreateReq(SignedQS signed_client_req,
                       PRCert ir_key_cert)

ObjectCreateReq

public ObjectCreateReq(InputBuffer buffer)
                throws QSException
Method Detail

toString

public String toString()
Overrides:
toString in class Object

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

aguid

public SecureHash aguid()

client_req

public final CreateObjectReq client_req()

branch

public SecureHash branch()

branchhead

public SecureHash branchhead()