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

private class UPnP.RegisterPortsThreadextends Object implements Runnable
This also renews all subscriptions.
  • Field Details

    • portsToForwardNow

      private final Set<ForwardPort> portsToForwardNow
      The ports to add mappings for.
  • Constructor Details

    • RegisterPortsThread

      public RegisterPortsThread(Set<ForwardPort> ports)
      Registration thread handling the given ports.
      Parameters:
      ports - if null, renew subscriptions only, then exit.
  • Method Details

    • run

      public void run()
      Claim the port mappings and report the results.
      Specified by:
      run in interface Runnable