Class DaemonThread

All Implemented Interfaces:
Runnable, NamingServiceUpdater

public class DaemonThread extends I2PAppThread implements NamingServiceUpdater
A thread that waits five minutes, then runs the addressbook daemon.
Author:
Ragnarok
  • 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().
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class I2PThread
    • halt

      public void halt()
    • 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
      Since:
      0.8.7