ostore.rp
Class ObjectCreateReqMsg

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

public class ObjectCreateReqMsg
extends DDRouteMsg

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: ObjectCreateReqMsg.java,v 1.14 2004/05/13 20:16:49 hweather Exp $
Author:
Sean C. Rhea

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
ObjectCreateReqMsg(InputBuffer buffer)
           
ObjectCreateReqMsg(SecureHash dest, SignedQS signed_req, QSArray initial_update, boolean recursive, boolean dd_intermediate_upcall, boolean one_hop)
           
 
Method Summary
 ObjectCreateReq 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

ObjectCreateReqMsg

public ObjectCreateReqMsg(SecureHash dest,
                          SignedQS signed_req,
                          QSArray initial_update,
                          boolean recursive,
                          boolean dd_intermediate_upcall,
                          boolean one_hop)

ObjectCreateReqMsg

public ObjectCreateReqMsg(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
Overrides:
serialize in class DDRouteMsg
Parameters:
buffer - the output buffer to add the object to

req

public final ObjectCreateReq req()