java.lang.Object
net.i2p.router.transport.UPnP.UnregisterPortsThread
All Implemented Interfaces:
Runnable
Enclosing class:
UPnP

private class UPnP.UnregisterPortsThreadextends Object implements Runnable
Removes our port mappings on a thread.
  • Field Details

    • portsToForwardNow

      private final Set<ForwardPort> portsToForwardNow
      The mappings to remove.
  • Constructor Details

    • UnregisterPortsThread

      public UnregisterPortsThread(Set<ForwardPort> ports)
      Collects the ports this thread is to un-forward.
      Parameters:
      ports - the ports to un-forward
  • Method Details

    • run

      public void run()
      Un-forward the pending ports.
      Specified by:
      run in interface Runnable