java.lang.Object
net.i2p.router.web.WrapperListener

class WrapperListenerextends Object
Listen for events. Requires wrapper 3.2.0 or higher. Hides the actual listener so that ConfigServiceHandler can have a static field and not die on class not found error with wrapper 3.1.1.
  • Field Details

  • Constructor Details

    • WrapperListener

      public WrapperListener(RouterContext ctx)
      Wrapper must be 3.2.0 or higher, or will throw class not found error. Registers with the wrapper in the constructor.
      Parameters:
      ctx - the router context handed to the nested signal handler, which logs through it when the wrapper reports a signal
  • Method Details

    • unregister

      public void unregister()
      Unregister the handler for signals.