rice.pastry.routing
Class RequestRouteRow
java.lang.Object
rice.pastry.messaging.Message
rice.pastry.messaging.PRawMessage
rice.pastry.routing.RequestRouteRow
- All Implemented Interfaces:
- java.io.Serializable, Message, RawMessage
public class RequestRouteRow
- extends PRawMessage
- implements java.io.Serializable
Request a row from the routing table from another node.
- Version:
- $Id: RequestRouteRow.java 3568 2007-01-25 17:20:07Z jeffh $
- Author:
- Andrew Ladd
- See Also:
- Serialized Form
Field Summary |
static short |
TYPE
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE
public static final short TYPE
- See Also:
- Constant Field Values
RequestRouteRow
public RequestRouteRow(NodeHandle nh,
short r)
- Constructor.
- Parameters:
nh
- the return handle.r
- which row
RequestRouteRow
public RequestRouteRow(java.util.Date stamp,
NodeHandle nh,
short r)
- Constructor.
- Parameters:
stamp
- the timestampnh
- the return handler
- which row
RequestRouteRow
public RequestRouteRow(NodeHandle sender,
InputBuffer buf)
throws java.io.IOException
- Throws:
java.io.IOException
returnHandle
public NodeHandle returnHandle()
- The return handle for the message
- Returns:
- the node handle
getRow
public short getRow()
- Gets the row that made the request.
- Returns:
- the row.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getType
public short getType()
- Raw Serialization
- Specified by:
getType
in interface RawMessage
serialize
public void serialize(OutputBuffer buf)
throws java.io.IOException
- Specified by:
serialize
in interface RawMessage
- Throws:
java.io.IOException
Copyright © 2001-2005 - Rice Pastry.