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