Interface NatPMPDevice

All Known Implementing Classes:
NatPMPDeviceImpl

public interface NatPMPDevice
  • Method Details

    • 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()