|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProbeStrategy
This is used in a network
| 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 |
|---|
Cancellable requestProbe(MultiInetSocketAddress addr,
long uid,
Continuation<java.lang.Boolean,java.lang.Exception> deliverResultToMe)
addr - the location of the requestor (who we need to probe)uid - a unique identifier created by the original requestor at addr
java.util.Collection<java.net.InetSocketAddress> getExternalAddresses()
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||