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

### LeafSetNHStrategy

    public LeafSetNHStrategy(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

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.