ePOST API

rice.pastry.routing
Class RequestRouteRow

java.lang.Object
  extended by rice.pastry.messaging.Message
      extended by rice.pastry.routing.RequestRouteRow
All Implemented Interfaces:
java.io.Serializable

public class RequestRouteRow
extends Message
implements java.io.Serializable

Request a row from the routing table from another node.

Version:
$Id: RequestRouteRow.java 2570 2005-06-09 21:54:10Z jeffh $
Author:
Andrew Ladd
See Also:
Serialized Form

Field Summary
 
Fields inherited from class rice.pastry.messaging.Message
DEFAULT_PRIORITY_LEVEL
 
Constructor Summary
RequestRouteRow(Credentials cred, java.util.Date stamp, NodeHandle nh, int r)
          Constructor.
RequestRouteRow(Credentials cred, NodeHandle nh, int r)
          Constructor.
RequestRouteRow(java.util.Date stamp, NodeHandle nh, int r)
          Constructor.
RequestRouteRow(NodeHandle nh, int r)
          Constructor.
 
Method Summary
 int getRow()
          Gets the row that made the request.
 NodeHandle returnHandle()
          The return handle for the message
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Constructor Detail

RequestRouteRow

public RequestRouteRow(NodeHandle nh,
                       int r)
Constructor.

Parameters:
nh - the return handle.
r - which row

RequestRouteRow

public RequestRouteRow(Credentials cred,
                       NodeHandle nh,
                       int r)
Constructor.

Parameters:
cred - the credentials.
nh - the return handle.
r - which row

RequestRouteRow

public RequestRouteRow(java.util.Date stamp,
                       NodeHandle nh,
                       int r)
Constructor.

Parameters:
stamp - the timestamp
nh - the return handle
r - which row

RequestRouteRow

public RequestRouteRow(Credentials cred,
                       java.util.Date stamp,
                       NodeHandle nh,
                       int r)
Constructor.

Parameters:
cred - the credentials.
stamp - the timestamp
nh - the return handle.
r - which row
Method Detail

returnHandle

public NodeHandle returnHandle()
The return handle for the message

Returns:
the node handle

getRow

public int getRow()
Gets the row that made the request.

Returns:
the row.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

ePOST API

Copyright © 2001-2005 - Rice Pastry.