Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rice.pastry.standard
Class StandardRouteSetProtocol

    java.lang.Object
      rice.pastry.client.PastryAppl
          rice.pastry.standard.StandardRouteSetProtocol

All Implemented Interfaces:
  java.util.Observer

    public class StandardRouteSetProtocol

extends PastryAppl

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` DESCRIBE THE FIELD

Fields inherited from class rice.pastry.client.PastryAppl
`address, deserializer, instance, receiver, thePastryNode`

Constructor Summary
`StandardRouteSetProtocol(PastryNode ln, RoutingTable rt, Environment env)` Constructor.
`StandardRouteSetProtocol(PastryNode ln, RoutingTable rt, Environment env, MessageDeserializer md)` Constructor for StandardRouteSetProtocol.

Method Summary
`boolean` | `deliverWhenNotReady()` DESCRIBE THE METHOD
`void` | `messageForAppl(Message msg)` Receives a message.

Methods inherited from class rice.pastry.client.PastryAppl
`accept, connect, destroy, enrouteMessage, getAddress, getLeafSet, getNodeHandle, getNodeId, getRoutingTable, isClosest, leafSetChange, notifyReady, receiveMessage, receiveMessageInternal, receiveSocket, register, routeMsg, routeMsgDirect, routeSetChange, setDeserializer, update`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### logger

    protected Logger logger

  DESCRIBE THE FIELD

Constructor Detail

### StandardRouteSetProtocol

    public StandardRouteSetProtocol(PastryNode ln,
                                    RoutingTable rt,
                                    Environment env)

  Constructor.

  Parameters:
    `ln` - DESCRIBE THE PARAMETER
    `rt` - the routing table
    `env` - DESCRIBE THE PARAMETER

### StandardRouteSetProtocol

    public StandardRouteSetProtocol(PastryNode ln,
                                    RoutingTable rt,
                                    Environment env,
                                    MessageDeserializer md)

  Constructor for StandardRouteSetProtocol.

  Parameters:
    `ln` - DESCRIBE THE PARAMETER
    `rt` - DESCRIBE THE PARAMETER
    `env` - DESCRIBE THE PARAMETER
    `md` - DESCRIBE THE PARAMETER

Method Detail

### messageForAppl

    public void messageForAppl(Message msg)

  Receives a message.

  Specified by:
    `messageForAppl` in class `PastryAppl`
  Parameters:
    `msg` - the message.

### deliverWhenNotReady

    public boolean deliverWhenNotReady()

  DESCRIBE THE METHOD

  Overrides:
    `deliverWhenNotReady` in class `PastryAppl`
  Returns:
    DESCRIBE THE RETURN VALUE

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.