Rice Pastry API

rice.pastry.socket.nat.rendezvous
Class RendezvousSourceRouteStrategy

java.lang.Object
  extended by rice.pastry.socket.nat.rendezvous.RendezvousSourceRouteStrategy
All Implemented Interfaces:
SourceRouteStrategy

public class RendezvousSourceRouteStrategy
extends java.lang.Object
implements SourceRouteStrategy

This appends the rendezvous point(s) to the default SourceRouteStrategy

Author:
Jeff Hoye

Constructor Summary
RendezvousSourceRouteStrategy()
           
 
Method Summary
 java.util.Collection getSourceRoutes(java.lang.Object destination)
          Do not include the destination in the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RendezvousSourceRouteStrategy

public RendezvousSourceRouteStrategy()
Method Detail

getSourceRoutes

public java.util.Collection getSourceRoutes(java.lang.Object destination)
Description copied from interface: SourceRouteStrategy
Do not include the destination in the list.

Specified by:
getSourceRoutes in interface SourceRouteStrategy
Returns:
a collection of paths to the destination. Don't include the local node at the beginning of the path, nor the destination at the end.

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection