Rice Pastry API

org.mpisws.p2p.transport.sourceroute.manager.simple
Interface NextHopStrategy<Identifier>

All Known Implementing Classes:
LeafSetNHStrategy, RendezvousLeafSetNHStrategy

public interface NextHopStrategy<Identifier>

This is a simplified Source Route Strategy, that only needs to provide a next hop.

Author:
Jeff Hoye

Method Summary
 java.util.Collection<Identifier> getNextHops(Identifier destination)
           
 

Method Detail

getNextHops

java.util.Collection<Identifier> getNextHops(Identifier destination)
Parameters:
destination -
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