Package net.i2p.router.startup

The I2P startup package loads the configuration when I2P is started.

See:
          Description

Class Summary
BootCommSystemJob This actually boots almost everything
BootNetworkDbJob start up the network database
BootPeerManagerJob start up the peer manager
BuildTrustedLinksJob For future restricted routes.
ClientAppConfig Contains a really simple ClientApp "structure" and some static methods so they can be used both by LoadClientAppsJob and by the configuration page in the router console.
CreateRouterInfoJob Warning - misnamed.
LoadClientAppsJob Run any client applications specified in clients.config.
LoadClientAppsJob.DelayedRunClient Public for router console only, not for use by others, subject to change
LoadRouterInfoJob Run once or twice at startup by StartupJob, and then runs BootCommSystemJob
LoadRouterInfoJob.KeyData  
MigrateJetty Migrate the clients.config and jetty.xml files from Jetty 5/6 to Jetty 7.
RebuildRouterInfoJob This used be called from StartAcceptingClientsJob but is now disabled.
RouterAppManager Notify the router of events, and provide methods for client apps to find each other.
StartAcceptingClientsJob start I2CP interface
StartupJob The StartupJob should be run once on router startup to initialize the system and set things in motion.
WorkingDir Get a working directory for i2p.
 

Package net.i2p.router.startup Description

The I2P startup package loads the configuration when I2P is started.

The startup consists of a number of different jobs, like loading data from files for the network database, creating new router information (keypairs), and so on.


Calling order:

StartupJob
        LoadClientAppsJob
                starts clients and queues delayed client jobs
        start stats publisher
        LoadRouterInfoJob
                RebuildRouterInfoJob if necessary
                        CreateRouterInfoJob if necessary
                BootCommSystemJob
                        allow parallel operation in job queue
                        BootNetworkDbJob
                                starts netdb
                        BuildTrustedLinksJob (never used)
                        BootPeerManagerJob
                                starts peer manager
                        start comm system
                        start tunnel manager
                        StartAcceptingClientsJob
                                starts client manager
                        ReadConfigJob
                                loops every 30 seconds