|
||||||||||
| 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,
String appName)
Search for an available port forwarding, starting with the external address specified. |
InetAddress |
findFireWall(InetAddress bindAddress)
Search for the firewall on the NIC specified by the bindAddress |
InetAddress |
getFireWallExternalAddress()
The neame of the firewall's external address. |
void |
openFireWallPort(int local,
int external,
String appName)
|
| Method Detail |
|---|
InetAddress findFireWall(InetAddress bindAddress)
throws IOException
bindAddress - the network to find the firewall on
IOExceptionInetAddress getFireWallExternalAddress()
int findAvailableFireWallPort(int internal,
int external,
int tries,
String appName)
throws IOException
internal - external -
IOException
void openFireWallPort(int local,
int external,
String appName)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||