java.lang.Object
net.i2p.i2pcontrol.servlets.jsonrpc2handlers.RouterManagerHandler.UpdateWrapperManagerTask
All Implemented Interfaces:
Runnable
Enclosing class:
RouterManagerHandler

public static class RouterManagerHandler.UpdateWrapperManagerTaskextends Object implements Runnable
Task to update the wrapper manager with a specific exit code
  • Field Details

    • _exitCode

      private int _exitCode
      Exit code to use when the router stops.
  • Constructor Details

    • UpdateWrapperManagerTask

      public UpdateWrapperManagerTask(int exitCode)
      Holds the exit code to report to the wrapper manager when run.
      Parameters:
      exitCode - the status the wrapper manager should see on the next restart
  • Method Details

    • run

      public void run()
      Tell the wrapper the router has stopped, so it restarts it.
      Specified by:
      run in interface Runnable