Rice Pastry API

rice.pastry.routing
Class RequestRouteRow

java.lang.Object
  |
  +--rice.pastry.messaging.Message
        |
        +--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,v 1.4 2003/07/21 19:45:46 druschel Exp $
Author:
Andrew Ladd
See Also:
Serialized Form

Constructor Summary
RequestRouteRow(rice.pastry.security.Credentials cred, java.util.Date stamp, rice.pastry.NodeHandle nh, int r)
          Constructor.
RequestRouteRow(rice.pastry.security.Credentials cred, rice.pastry.NodeHandle nh, int r)
          Constructor.
RequestRouteRow(java.util.Date stamp, rice.pastry.NodeHandle nh, int r)
          Constructor.
RequestRouteRow(rice.pastry.NodeHandle nh, int r)
          Constructor.
 
Method Summary
 int getRow()
          Gets the row that made the request.
 rice.pastry.NodeHandle returnHandle()
          The return handle for the message
 java.lang.String toString()
           
 
Methods inherited from class rice.pastry.messaging.Message
getCredentials, getDate, getDestination, getSenderId, getStream, hasPriority, setPriority, setSenderId, stamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestRouteRow

public RequestRouteRow(rice.pastry.NodeHandle nh,
                       int r)
Constructor.

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

RequestRouteRow

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

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

RequestRouteRow

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

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

RequestRouteRow

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

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

returnHandle

public rice.pastry.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

Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection