ePOST API

rice.pastry.routing
Class BroadcastRouteRow

java.lang.Object
  extended by rice.pastry.messaging.Message
      extended by 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 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
BroadcastRouteRow(Credentials cred, java.util.Date stamp, NodeHandle from, RouteSet[] r)
          Constructor.
BroadcastRouteRow(Credentials cred, NodeHandle from, RouteSet[] r)
          Constructor.
BroadcastRouteRow(java.util.Date stamp, NodeHandle from, RouteSet[] r)
          Constructor.
BroadcastRouteRow(NodeHandle from, RouteSet[] r)
          Constructor.
 
Method Summary
 NodeHandle from()
          Gets the from node.
 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, 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

BroadcastRouteRow

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

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

BroadcastRouteRow

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

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

BroadcastRouteRow

public BroadcastRouteRow(Credentials cred,
                         NodeHandle from,
                         RouteSet[] r)
Constructor.

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

BroadcastRouteRow

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

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

from

public NodeHandle from()
Gets the from node.

Returns:
the from node.

getRow

public 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

ePOST API

Copyright © 2001-2005 - Rice Pastry.