|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InetSocketAddressLookup
First, call getMyInetAddress to find the external address. Second, try to use UPnP or user configured portForwarding to configure the NAT Third, call verifyConnectivity to make sure it all worked
Method Summary | |
---|---|
Cancellable |
getExternalNodes(java.net.InetSocketAddress bootstrap,
Continuation<java.util.Collection<java.net.InetSocketAddress>,java.io.IOException> c,
java.util.Map<java.lang.String,java.lang.Object> options)
find nodes outside of our firewall so I can boot |
Cancellable |
getMyInetAddress(java.net.InetSocketAddress bootstrap,
Continuation<java.net.InetSocketAddress,java.io.IOException> c,
java.util.Map<java.lang.String,java.lang.Object> options)
Returns the local node's InetSocketAddress |
Cancellable |
verifyConnectivity(MultiInetSocketAddress local,
java.net.InetSocketAddress probeAddresses,
ConnectivityResult deliverResultToMe,
java.util.Map<java.lang.String,java.lang.Object> options)
Verify that I have connectivity by using a third party. |
Methods inherited from interface rice.Destructable |
---|
destroy |
Method Detail |
---|
Cancellable getExternalNodes(java.net.InetSocketAddress bootstrap, Continuation<java.util.Collection<java.net.InetSocketAddress>,java.io.IOException> c, java.util.Map<java.lang.String,java.lang.Object> options)
target
- continuation
- options
-
Cancellable getMyInetAddress(java.net.InetSocketAddress bootstrap, Continuation<java.net.InetSocketAddress,java.io.IOException> c, java.util.Map<java.lang.String,java.lang.Object> options)
bootstrap
- who to askc
- where the return value is deliveredoptions
- can be null
Cancellable verifyConnectivity(MultiInetSocketAddress local, java.net.InetSocketAddress probeAddresses, ConnectivityResult deliverResultToMe, java.util.Map<java.lang.String,java.lang.Object> options)
bootstrap
- proxyAddr
-
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |