java.lang.Object
net.i2p.router.web.ConfigServiceHandler.FinalWrapperTask
All Implemented Interfaces:
Runnable
Enclosing class:
ConfigServiceHandler

private static class ConfigServiceHandler.FinalWrapperTaskextends Object implements Runnable
Tell the wrapper we are stopped.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
    Exit code to stop the wrapper with.
    private final Log
    Logger for the stop task.
    private static final int
    Hash code identifying this task class.
  • Constructor Summary

    Constructors
    Constructor
    Description
    FinalWrapperTask(int exitCode)
    Builds the wrapper stop task.
  • Method Summary

    All Methods
    Modifier and Type
    Method
    Description
    boolean
    Make them all look the same since the hooks are stored in a set and we don't want dups.
    int
    Make them all look the same since the hooks are stored in a set and we don't want dups.
    void
    run()
     

    Methods inherited from class Object

    clone, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • _exitCode

      private final int _exitCode
      Exit code to stop the wrapper with.
    • _log

      private final Log _log
      Logger for the stop task.
    • HASHCODE

      private static final int HASHCODE
      Hash code identifying this task class.
      See Also:
  • Constructor Details

    • FinalWrapperTask

      public FinalWrapperTask(int exitCode)
      Builds the wrapper stop task.
      Parameters:
      exitCode - the exit code to stop the wrapper with
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • hashCode

      public int hashCode()
      Make them all look the same since the hooks are stored in a set and we don't want dups.
      Overrides:
      hashCode in class Object
      Returns:
      whether h code is present
    • equals

      public boolean equals(Object o)
      Make them all look the same since the hooks are stored in a set and we don't want dups.
      Overrides:
      equals in class Object