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

## org.mpisws.p2p.transport.networkinfo
Interface ProbeStrategy

All Known Implementing Classes:
  ProbeApp

    public interface ProbeStrategy

This is used in a network

Author:
  Jeff Hoye

Method Summary
`java.util.Collection<java.net.InetSocketAddress>` | `getExternalAddresses()` Returns some known external addresses.
`Cancellable` | `requestProbe(MultiInetSocketAddress addr, long uid, Continuation<java.lang.Boolean,java.lang.Exception> deliverResultToMe)` Finds another node in the network and asks them to probe the addr with the uid calls Prober.probe() on another node

Method Detail

### requestProbe

    Cancellable requestProbe(MultiInetSocketAddress addr,
                             long uid,
                             Continuation<java.lang.Boolean,java.lang.Exception> deliverResultToMe)

  Finds another node in the network and asks them to probe the addr with the uid calls Prober.probe() on another node

  Parameters:
    `addr` - the location of the requestor (who we need to probe)
    `uid` - a unique identifier created by the original requestor at addr
  Returns:
    can cancel the operation

### getExternalAddresses

    java.util.Collection<java.net.InetSocketAddress> getExternalAddresses()

  Returns some known external addresses.

  Returns:

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.