Package com.biglybt.net.natpmp
Interface NatPMPDevice
- All Known Implementing Classes:
NatPMPDeviceImpl
public interface NatPMPDevice
-
Method Summary
Modifier and TypeMethodDescriptionint
addPortMapping
(boolean tcp, int internal_port, int external_port) boolean
connect()
void
deletePortMapping
(boolean tcp, int internal_port, int external_port) int
getEpoch()
-
Method Details
-
connect
- Throws:
Exception
-
addPortMapping
- Throws:
Exception
-
deletePortMapping
- Throws:
Exception
-
getLocalAddress
InetAddress getLocalAddress() -
getNetworkInterface
NetworkInterface getNetworkInterface() -
getEpoch
int getEpoch() -
getExternalIPAddress
String getExternalIPAddress()
-