|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NATHandler
This is supposed to open a hole in the Firewall, usually using UPnP.
Method Summary | |
---|---|
int |
findAvailableFireWallPort(int internal,
int external,
int tries,
java.lang.String appName)
Search for an available port forwarding, starting with the external address specified. |
java.net.InetAddress |
findFireWall(java.net.InetAddress bindAddress)
Search for the firewall on the NIC specified by the bindAddress |
java.net.InetAddress |
getFireWallExternalAddress()
The neame of the firewall's external address. |
void |
openFireWallPort(int local,
int external,
java.lang.String appName)
|
Method Detail |
---|
java.net.InetAddress findFireWall(java.net.InetAddress bindAddress) throws java.io.IOException
bindAddress
- the network to find the firewall on
java.io.IOException
java.net.InetAddress getFireWallExternalAddress()
int findAvailableFireWallPort(int internal, int external, int tries, java.lang.String appName) throws java.io.IOException
internal
- external
-
java.io.IOException
void openFireWallPort(int local, int external, java.lang.String appName) throws java.io.IOException
java.io.IOException
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |