Rice Pastry API

rice.pastry.socket.nat.rendezvous
Class RendezvousLeafSetNHStrategy

java.lang.Object
  extended by rice.pastry.socket.nat.rendezvous.RendezvousLeafSetNHStrategy
All Implemented Interfaces:
NextHopStrategy<MultiInetSocketAddress>

public class RendezvousLeafSetNHStrategy
extends java.lang.Object
implements NextHopStrategy<MultiInetSocketAddress>


Constructor Summary
RendezvousLeafSetNHStrategy(LeafSet leafSet)
           
 
Method Summary
 java.util.Collection<MultiInetSocketAddress> getNextHops(MultiInetSocketAddress destination)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RendezvousLeafSetNHStrategy

public RendezvousLeafSetNHStrategy(LeafSet leafSet)
Method Detail

getNextHops

public java.util.Collection<MultiInetSocketAddress> getNextHops(MultiInetSocketAddress destination)
Specified by:
getNextHops in interface NextHopStrategy<MultiInetSocketAddress>
Returns:
good next candidates (random nodes that we suspect are alive are a good start) to reach the destination

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection