|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectivityVerifier
Method Summary | |
---|---|
Cancellable |
findExternalAddress(java.net.InetSocketAddress local,
java.util.Collection<java.net.InetSocketAddress> probeAddresses,
Continuation<java.net.InetAddress,java.io.IOException> deliverResultToMe)
Finds the external address by contacting a random member of the probeAddresses |
Cancellable |
findExternalNodes(java.net.InetSocketAddress local,
java.util.Collection<java.net.InetSocketAddress> probeAddresses,
Continuation<java.util.Collection<java.net.InetSocketAddress>,java.io.IOException> deliverResultToMe)
Finds known external nodes from other bootstrap nodes who are in your firewall |
Cancellable |
verifyConnectivity(MultiInetSocketAddress local,
java.util.Collection<java.net.InetSocketAddress> probeAddresses,
ConnectivityResult deliverResultToMe)
Verify my connectivity using a 3rd party |
Method Detail |
---|
Cancellable findExternalNodes(java.net.InetSocketAddress local, java.util.Collection<java.net.InetSocketAddress> probeAddresses, Continuation<java.util.Collection<java.net.InetSocketAddress>,java.io.IOException> deliverResultToMe)
local
- the local bindaddressprobeAddresses
- the nodes askdeliverResultToMe
- deliver the result here
Cancellable findExternalAddress(java.net.InetSocketAddress local, java.util.Collection<java.net.InetSocketAddress> probeAddresses, Continuation<java.net.InetAddress,java.io.IOException> deliverResultToMe)
local
- the local bindaddressprobeAddresses
- the nodes askdeliverResultToMe
- deliver the result here
Cancellable verifyConnectivity(MultiInetSocketAddress local, java.util.Collection<java.net.InetSocketAddress> probeAddresses, ConnectivityResult deliverResultToMe)
local
- probeAddresses
- deliverResultToMe
-
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |