Packages that use ConsoleUpdateManager
Package
Description
Router-side update checking and installation: fetching update notifications, downloading and verifying updates, and staging them for the restart.
The router console user interface, implemented in routerconsole.jar, with these classes supporting the webapp in routerconsole.war.
Uses of ConsoleUpdateManager in net.i2p.router.update
Fields in net.i2p.router.update declared as ConsoleUpdateManagerModifier and TypeFieldDescriptionprivate final ConsoleUpdateManagerDevSU3UpdateHandler._mgrThe manager that installs the update.private final ConsoleUpdateManagerDummyHandler._mgrReports the dummy update's progress.private final ConsoleUpdateManagerNewsTimerTask._mgrThe update manager fetching the news.private final ConsoleUpdateManagerPluginUpdateHandler._mgrThe manager that installs the update.private final ConsoleUpdateManagerUnsignedUpdateHandler._mgrThe manager that installs the update.protected final ConsoleUpdateManagerUpdateHandler._mgrThe update manager for coordinating updates.protected final ConsoleUpdateManagerUpdateRunner._mgrUpdate manager.Methods in net.i2p.router.update that return ConsoleUpdateManagerModifier and TypeMethodDescriptionstatic ConsoleUpdateManagerConsoleUpdateManager.getInstance()Finds the registered console update manager app.Constructors in net.i2p.router.update with parameters of type ConsoleUpdateManagerModifierConstructorDescriptionDevSU3UpdateChecker(RouterContext ctx, ConsoleUpdateManager mgr, List<URI> uris) Registers the check as a partial dev SU3 update and adopts the first URI.DevSU3UpdateHandler.DevSU3UpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, List<URI> uris) DevSU3UpdateRunner.DummyHandler(RouterContext ctx, ConsoleUpdateManager mgr) Creates a handler that serves dummy update checks only.DummyRunner(RouterContext ctx, ConsoleUpdateManager mgr, long maxTime) Creates a runner that sleeps for the requested time, then reports failure.NewsFetcher(RouterContext ctx, ConsoleUpdateManager mgr, List<URI> uris) Fetches from the first source that succeeds, using the default timeout.NewsFetcher(RouterContext ctx, ConsoleUpdateManager mgr, List<URI> uris, long timeout) And we will log status to the sidebar.NewsHandler(RouterContext ctx, ConsoleUpdateManager mgr) Creates the news update checker for the given update manager.NewsTimerTask(RouterContext ctx, ConsoleUpdateManager mgr) Schedules the recurring news check and runs the first one now.PluginUpdateChecker(RouterContext ctx, ConsoleUpdateManager mgr, List<URI> uris, String appName, String oldVersion) Prepare a plugin update check.Create a plugin update handler.PluginUpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, List<URI> uris, String appName, String oldVersion) Set up a single-URI plugin update; the first entry of uris is the only one used.UnsignedUpdateChecker(RouterContext ctx, ConsoleUpdateManager mgr, List<URI> uris, long lastUpdateTime) Records the installed version time used to decide if an update is newer.Hold the router context and the update manager that the checker and runner created here need; no work happens in the constructor.UnsignedUpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, List<URI> uris) Sets up an unsigned router update against the first of the given mirrors.UpdateHandler(RouterContext ctx, ConsoleUpdateManager mgr) Stores the context and the manager that owns the update runner.UpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, UpdateType type, List<URI> uris) Uses router version for partial checks.UpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, UpdateType type, List<URI> uris, String currentVersion) Constructor with explicit current version.UpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, UpdateType type, UpdateMethod method, List<URI> uris) Uses router version for partial checks.UpdateRunner(RouterContext ctx, ConsoleUpdateManager mgr, UpdateType type, UpdateMethod method, List<URI> uris, String currentVersion) Full constructor.Uses of ConsoleUpdateManager in net.i2p.router.web
Methods in net.i2p.router.web that return ConsoleUpdateManagerModifier and TypeMethodDescriptionstatic ConsoleUpdateManagerUpdateHandler.updateManager(RouterContext ctx) Fetch the update manager that the update pages write to, without starting it.