ePOST API

rice.pastry.standard
Class StandardRouteSetProtocol

java.lang.Object
  extended by rice.pastry.standard.StandardRouteSetProtocol
All Implemented Interfaces:
MessageReceiver

public class StandardRouteSetProtocol
extends java.lang.Object
implements MessageReceiver

An implementation of a simple route set protocol.

Version:
$Id: StandardRouteSetProtocol.java,v 1.15 2005/03/11 00:58:02 jeffh Exp $
Author:
Andrew Ladd, Peter Druschel

Field Summary
protected  Logger logger
           
 
Constructor Summary
StandardRouteSetProtocol(NodeHandle lh, PastrySecurityManager sm, RoutingTable rt, Environment env)
          Constructor.
 
Method Summary
 Address getAddress()
          Gets the address.
 void receiveMessage(Message msg)
          Receives a message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected Logger logger
Constructor Detail

StandardRouteSetProtocol

public StandardRouteSetProtocol(NodeHandle lh,
                                PastrySecurityManager sm,
                                RoutingTable rt,
                                Environment env)
Constructor.

Parameters:
lh - the local handle
sm - the security manager
rt - the routing table
Method Detail

getAddress

public Address getAddress()
Gets the address.

Returns:
the address.

receiveMessage

public void receiveMessage(Message msg)
Receives a message.

Specified by:
receiveMessage in interface MessageReceiver
Parameters:
msg - the message.

ePOST API

Copyright © 2001-2005 - Rice Pastry.