rice.pastry.socket.nat.rendezvous
Class RendezvousLeafSetNHStrategy
java.lang.Object
rice.pastry.socket.nat.rendezvous.RendezvousLeafSetNHStrategy
- All Implemented Interfaces:
- NextHopStrategy<MultiInetSocketAddress>
public class RendezvousLeafSetNHStrategy
- extends Object
- implements NextHopStrategy<MultiInetSocketAddress>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RendezvousLeafSetNHStrategy
public RendezvousLeafSetNHStrategy(LeafSet leafSet)
getNextHops
public 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
Copyright © 2010. All Rights Reserved.