Rice Pastry API

rice.pastry.join
Class InitiateJoin

java.lang.Object
  extended byrice.pastry.messaging.Message
      extended byrice.pastry.join.InitiateJoin
All Implemented Interfaces:
java.io.Serializable

public class InitiateJoin
extends Message
implements java.io.Serializable

Request for the join protocols on the local node to join the overlay.

Version:
$Id: InitiateJoin.java,v 1.4 2005/06/09 16:22:02 jeffh Exp $
Author:
Andrew Ladd
See Also:
Serialized Form

Field Summary
 
Fields inherited from class rice.pastry.messaging.Message
DEFAULT_PRIORITY_LEVEL
 
Constructor Summary
InitiateJoin(Credentials cred, java.util.Date stamp, NodeHandle nh)
          Constructor.
InitiateJoin(Credentials cred, NodeHandle nh)
          Constructor.
InitiateJoin(java.util.Date stamp, NodeHandle nh)
          Constructor.
InitiateJoin(NodeHandle nh)
          Constructor.
 
Method Summary
 NodeHandle getHandle()
          Gets the handle for the join.
 
Methods inherited from class rice.pastry.messaging.Message
getCredentials, getDate, getDestination, getPriority, getSender, getSenderId, setPriority, setSender, stamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitiateJoin

public InitiateJoin(NodeHandle nh)
Constructor.

Parameters:
nh - the node handle that the join will begin from.

InitiateJoin

public InitiateJoin(java.util.Date stamp,
                    NodeHandle nh)
Constructor.

Parameters:
stamp - the timestamp
nh - the node handle that the join will begin from.

InitiateJoin

public InitiateJoin(Credentials cred,
                    NodeHandle nh)
Constructor.

Parameters:
cred - the credentials
nh - the node handle that the join will begin from.

InitiateJoin

public InitiateJoin(Credentials cred,
                    java.util.Date stamp,
                    NodeHandle nh)
Constructor.

Parameters:
cred - the credentials
stamp - the timestamp
nh - the node handle that the join will begin from.
Method Detail

getHandle

public NodeHandle getHandle()
Gets the handle for the join.

Returns:
the handle.

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection