Rice Pastry API

rice.pastry.socket.messaging
Class RoutesResponseMessage

java.lang.Object
  extended byrice.pastry.messaging.Message
      extended byrice.pastry.socket.messaging.SocketMessage
          extended byrice.pastry.socket.messaging.RoutesResponseMessage
All Implemented Interfaces:
java.io.Serializable

public class RoutesResponseMessage
extends SocketMessage

A response message to a RoutesRequestMessage, containing the remote node's routes.

Version:
$Id: RoutesResponseMessage.java,v 1.2 2005/03/11 00:57:59 jeffh Exp $
Author:
Alan Mislove
See Also:
Serialized Form

Field Summary
 
Fields inherited from class rice.pastry.messaging.Message
DEFAULT_PRIORITY_LEVEL
 
Constructor Summary
RoutesResponseMessage(SourceRoute[] routes)
          Constructor
 
Method Summary
 SourceRoute[] getRoutes()
          Returns the leafset of the receiver.
 
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, toString, wait, wait, wait
 

Constructor Detail

RoutesResponseMessage

public RoutesResponseMessage(SourceRoute[] routes)
Constructor

Parameters:
routes - DESCRIBE THE PARAMETER
Method Detail

getRoutes

public SourceRoute[] getRoutes()
Returns the leafset of the receiver.

Returns:
The LeafSet of the receiver node.

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection