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.transport
Class LeafSetNHStrategy

    java.lang.Object
      rice.pastry.transport.LeafSetNHStrategy

All Implemented Interfaces:
  NextHopStrategy<MultiInetSocketAddress>

    public class LeafSetNHStrategy

extends java.lang.Object
implements NextHopStrategy<MultiInetSocketAddress>

Constructor Summary
`LeafSetNHStrategy()`

Method Summary
`java.util.Collection<MultiInetSocketAddress>` | `getNextHops(MultiInetSocketAddress destination)`
`void` | `setLeafSet(LeafSet ls)`

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

Constructor Detail

### LeafSetNHStrategy

    public LeafSetNHStrategy()

Method Detail

### setLeafSet

    public void setLeafSet(LeafSet ls)

### 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

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.