rice.pastry.join
Class InitiateJoin
java.lang.Object
rice.pastry.messaging.Message
rice.pastry.join.InitiateJoin
- All Implemented Interfaces:
- java.io.Serializable, Message
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 3413 2006-10-04 13:15:18Z jeffh $
- Author:
- Andrew Ladd
- See Also:
- Serialized Form
Method Summary |
NodeHandle |
getHandle()
Gets the handle for the join. |
java.lang.String |
toString()
Converts to a String representation of the object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 timestampnh
- the node handle that the join will begin from.
getHandle
public NodeHandle getHandle()
- Gets the handle for the join. Gets the first non-dead handle for the join.
- Returns:
- the handle.
toString
public java.lang.String toString()
- Converts to a String representation of the object.
- Overrides:
toString
in class java.lang.Object
- Returns:
- A string representation of the object.
Copyright © 2001-2005 - Rice Pastry.