Class Daemon

java.lang.Object
net.i2p.addressbook.Daemon

class Daemon extends Object
Main class of addressbook. Performs updates, and runs the main loop. As of 0.9.30, package private, run with DaemonThread.
Author:
Ragnarok
  • Field Details

  • Constructor Details

    • Daemon

      Daemon()
  • Method Details

    • main

      public static void main(String[] args)
      Load the settings, set the proxy, then enter into the main loop. The main loop performs an immediate update, and then an update every number of hours, as configured in the settings file.
      Parameters:
      args - Command line arguments. If there are any arguments provided, the first is taken as addressbook's home directory, and the others are ignored.
    • test

      public static void test(String[] args)
      Since:
      0.9.26
    • run

      public void run(String[] args)
      Parameters:
      args - may be null
    • wakeup

      public void wakeup()
      Call this to get the addressbook to reread its config and refetch its subscriptions.
    • stop

      public void stop()