ostore.dtree
Class CreateTreeReq

java.lang.Object
  |
  +--ostore.dtree.DTreeReq
        |
        +--ostore.dtree.CreateTreeReq
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class CreateTreeReq
extends DTreeReq

Messages instructing the local DTreeNode to create a new dissemination tree, rooted here (presumably an inner ring).

Version:
$Id: CreateTreeReq.java,v 1.15 2002/07/29 18:48:53 geels Exp $
Author:
Dennis Geels

Field Summary
protected  SignedQS signed_resp
          The signed CreateObjectResp that contains the certificates necessary to verify the signatures of the messages that will be sent down the new tree.
 
Fields inherited from class ostore.dtree.DTreeReq
digest, tree_id
 
Constructor Summary
CreateTreeReq(InputBuffer buffer)
          Constructs a CreateTreeReq from its serialized form.
CreateTreeReq(SecureHash tree_id, SignedQS signed_resp)
          Creates a new request for the specified tree.
 
Method Summary
 SignedQS get_signed_resp()
          Returns the signed CreateObjectResp that contains the certificates necessary to verify the signatures of the messages that will be sent down the new tree.
 
Methods inherited from class ostore.dtree.DTreeReq
get_digest, get_seq_num, get_tree_id, hashCode, serialize, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

signed_resp

protected SignedQS signed_resp
The signed CreateObjectResp that contains the certificates necessary to verify the signatures of the messages that will be sent down the new tree.

Constructor Detail

CreateTreeReq

public CreateTreeReq(SecureHash tree_id,
                     SignedQS signed_resp)
Creates a new request for the specified tree.

Parameters:
tree_id - the A-GUID for the tree's data object.
signed_resp - the signed CreateObjectResp.

CreateTreeReq

public CreateTreeReq(InputBuffer buffer)
              throws QSException
Constructs a CreateTreeReq from its serialized form.

Method Detail

get_signed_resp

public SignedQS get_signed_resp()
Returns the signed CreateObjectResp that contains the certificates necessary to verify the signatures of the messages that will be sent down the new tree.