Package net.i2p.addressbook
Class Daemon
java.lang.Object
net.i2p.addressbook.Daemon
Main class of addressbook. Performs updates, and runs the main loop.
As of 0.9.30, package private, run with DaemonThread.
- Author:
- Ragnarok
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
VERSION
- See Also:
-
OLD_DEFAULT_SUB
- Since:
- 0.9.12
- See Also:
-
-
Constructor Details
-
Daemon
Daemon()
-
-
Method Details
-
main
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
- Since:
- 0.9.26
-
run
- 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()
-