All Implemented Interfaces:
Runnable, NamingServiceUpdater

public class DaemonThreadextends I2PAppThread implements NamingServiceUpdater
A thread that waits five minutes, then runs the addressbook daemon.
  • Constructor Details

    • DaemonThread

      public DaemonThread(String[] args)
      Construct a DaemonThread with the command line arguments args.
      Parameters:
      args - A String array to pass to Daemon.main(String[]).
  • Method Details

    • run

      public void run()
      Description copied from class: I2PThread
      Run the thread, catching and reporting OOM and other failures.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class I2PThread
    • halt

      public void halt()
      Halt the thread and stop the daemon.
    • update

      public void update(Properties options)
      The NamingServiceUpdater interface. While this may be called directly, the recommended way is to call I2PAppContext.namingService()requestUpdate(Properties) which will call this.
      Specified by:
      update in interface NamingServiceUpdater
      Parameters:
      options - ignored, may be null