Rice Pastry API

rice.pastry.routing
Class BroadcastRouteRow

java.lang.Object
  |
  +--rice.pastry.messaging.Message
        |
        +--rice.pastry.routing.BroadcastRouteRow
All Implemented Interfaces:
java.io.Serializable

public class BroadcastRouteRow
extends Message
implements java.io.Serializable

Broadcast message for a row from a routing table.

Version:
$Id: BroadcastRouteRow.java,v 1.5 2003/07/21 19:45:46 druschel Exp $
Author:
Andrew Ladd
See Also:
Serialized Form

Constructor Summary
BroadcastRouteRow(rice.pastry.security.Credentials cred, java.util.Date stamp, rice.pastry.NodeHandle from, rice.pastry.routing.RouteSet[] r)
          Constructor.
BroadcastRouteRow(rice.pastry.security.Credentials cred, rice.pastry.NodeHandle from, rice.pastry.routing.RouteSet[] r)
          Constructor.
BroadcastRouteRow(java.util.Date stamp, rice.pastry.NodeHandle from, rice.pastry.routing.RouteSet[] r)
          Constructor.
BroadcastRouteRow(rice.pastry.NodeHandle from, rice.pastry.routing.RouteSet[] r)
          Constructor.
 
Method Summary
 rice.pastry.NodeHandle from()
          Gets the from node.
 rice.pastry.routing.RouteSet[] getRow()
          Gets the row that was sent in 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

BroadcastRouteRow

public BroadcastRouteRow(rice.pastry.security.Credentials cred,
                         java.util.Date stamp,
                         rice.pastry.NodeHandle from,
                         rice.pastry.routing.RouteSet[] r)
Constructor.

Parameters:
cred - the credentials
stamp - the timestamp
from - the node id
r - the row

BroadcastRouteRow

public BroadcastRouteRow(java.util.Date stamp,
                         rice.pastry.NodeHandle from,
                         rice.pastry.routing.RouteSet[] r)
Constructor.

Parameters:
stamp - the timestamp
from - the node id
r - the row

BroadcastRouteRow

public BroadcastRouteRow(rice.pastry.security.Credentials cred,
                         rice.pastry.NodeHandle from,
                         rice.pastry.routing.RouteSet[] r)
Constructor.

Parameters:
cred - the credentials
from - the node id
r - the row

BroadcastRouteRow

public BroadcastRouteRow(rice.pastry.NodeHandle from,
                         rice.pastry.routing.RouteSet[] r)
Constructor.

Parameters:
from - the node id
r - the row
Method Detail

from

public rice.pastry.NodeHandle from()
Gets the from node.

Returns:
the from node.

getRow

public rice.pastry.routing.RouteSet[] getRow()
Gets the row that was sent in the message.

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