rice.pastry.leafset
Class RequestLeafSet
java.lang.Object
rice.pastry.messaging.Message
rice.pastry.messaging.PRawMessage
rice.pastry.leafset.RequestLeafSet
- All Implemented Interfaces:
- Serializable, Message, RawMessage, RawSerializable
public class RequestLeafSet
- extends PRawMessage
- implements Serializable
Request a leaf set from another node.
- Version:
- $Id: RequestLeafSet.java 3855 2007-09-14 15:46:49Z jeffh $
- Author:
- Andrew Ladd
- See Also:
- Serialized Form
|
Field Summary |
static short |
TYPE
|
TYPE
public static final short TYPE
- See Also:
- Constant Field Values
RequestLeafSet
public RequestLeafSet(NodeHandle nh,
long timeStamp)
- Constructor.
- Parameters:
nh - the return handle.
RequestLeafSet
public RequestLeafSet(Date stamp,
NodeHandle nh,
long timeStamp)
- Constructor.
- Parameters:
stamp - the timestampnh - the return handle
RequestLeafSet
public RequestLeafSet(NodeHandle sender,
InputBuffer buf)
throws IOException
- Throws:
IOException
returnHandle
public NodeHandle returnHandle()
- The return handle for the message
- Returns:
- the node handle
toString
public String toString()
- Overrides:
toString in class Object
getType
public short getType()
- Raw Serialization
- Specified by:
getType in interface RawMessage
serialize
public void serialize(OutputBuffer buf)
throws IOException
- Specified by:
serialize in interface RawSerializable
- Throws:
IOException
getTimeStamp
public long getTimeStamp()
Copyright © 2010. All Rights Reserved.