com.aelitis.net.natpmp
Interface NatPMPDevice
- All Known Implementing Classes: 
 - NatPMPDeviceImpl
 
public interface NatPMPDevice
 
connect
boolean connect()
                throws Exception
- Throws:
 Exception
 
addPortMapping
int addPortMapping(boolean tcp,
                   int internal_port,
                   int external_port)
                   throws Exception
- Throws:
 Exception
 
deletePortMapping
void deletePortMapping(boolean tcp,
                       int internal_port,
                       int external_port)
                       throws Exception
- Throws:
 Exception
 
getLocalAddress
InetAddress getLocalAddress()
 
getNetworkInterface
NetworkInterface getNetworkInterface()
 
getEpoch
int getEpoch()
 
getExternalIPAddress
String getExternalIPAddress()