Uses of Interface
net.i2p.update.UpdateTask
-
Packages that use UpdateTask Package Description net.i2p.router.update Classes to implement the update process.net.i2p.update Interfaces for classes to assist in the update process without needing the router context.org.klomp.snark I2P version of the snark bittorrent client, imported in 2005 and heavily enhanced to add a web UI, DHT support, and other features. -
-
Uses of UpdateTask in net.i2p.router.update
Classes in net.i2p.router.update that implement UpdateTask Modifier and Type Class Description (package private) classDevSU3UpdateCheckerCheck for an updated su3 version.(package private) classDevSU3UpdateRunnerEepget the .su3 file to the temp dir, then notify.(package private) classNewsFetcherTask to fetch updates to the news.xml, and to keep track of whether that has an announcement for a new version.(package private) classPluginUpdateCheckerCheck for an updated version of a plugin.(package private) classPluginUpdateRunnerCheck for an updated version of a plugin.(package private) classUnsignedUpdateCheckerDoes a simple EepHead to get the last-modified header.(package private) classUnsignedUpdateRunnerEepget the .zip file to the temp dir, then notify.r Moved from UnsignedUpdateHandler and turned into an UpdateTask.(package private) classUpdateRunnerThe downloader for router signed updates, and the base class for all the other Checkers and Runners.Methods in net.i2p.router.update that return UpdateTask Modifier and Type Method Description UpdateTaskDevSU3UpdateHandler. check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)UpdateTaskDummyHandler. check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)Spins off an UpdateTask that sleepsUpdateTaskNewsHandler. check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)This will check for news or router updates (it does the same thing).UpdateTaskPluginUpdateHandler. check(UpdateType type, UpdateMethod method, String appName, String currentVersion, long maxTime)check a single pluginUpdateTaskUnsignedUpdateHandler. check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)UpdateTaskDevSU3UpdateHandler. update(UpdateType type, UpdateMethod method, List<URI> updateSources, String id, String newVersion, long maxTime)Start a download and return a handle to the download task.UpdateTaskDummyHandler. update(UpdateType type, UpdateMethod method, List<URI> updateSources, String id, String newVersion, long maxTime)Spins off an UpdateTask that sleepsUpdateTaskPluginUpdateHandler. update(UpdateType type, UpdateMethod method, List<URI> updateSources, String appName, String newVersion, long maxTime)download a single pluginUpdateTaskUnsignedUpdateHandler. update(UpdateType type, UpdateMethod method, List<URI> updateSources, String id, String newVersion, long maxTime)Start a download and return a handle to the download task.UpdateTaskUpdateHandler. update(UpdateType type, UpdateMethod method, List<URI> updateSources, String id, String newVersion, long maxTime)Start a download and return a handle to the download task.Methods in net.i2p.router.update with parameters of type UpdateTask Modifier and Type Method Description voidConsoleUpdateManager. notifyAttemptFailed(UpdateTask task, String reason, Throwable t)Not necessarily the end if there are more URIs to try.voidConsoleUpdateManager. notifyCheckComplete(UpdateTask task, boolean newer, boolean success)Called by the Updater after check() was called and all notifyVersionAvailable() callbacks are finishedvoidConsoleUpdateManager. notifyComplete(UpdateTask task, String status)An expiring statusbooleanConsoleUpdateManager. notifyComplete(UpdateTask task, String actualVersion, File file)An update has been downloaded but not verified.voidConsoleUpdateManager. notifyProgress(UpdateTask task, String status)voidConsoleUpdateManager. notifyProgress(UpdateTask task, String status, long downloaded, long totalSize)voidConsoleUpdateManager. notifyTaskFailed(UpdateTask task, String reason, Throwable t)The task has finished and failed.booleanConsoleUpdateManager. notifyVersionAvailable(UpdateTask task, URI newsSource, UpdateType type, String id, Map<UpdateMethod,List<URI>> sourceMap, String newVersion, String minVersion)Called by the Checker, either after check() was called, or it found out on its own.booleanConsoleUpdateManager. notifyVersionAvailable(UpdateTask task, URI newsSource, UpdateType type, String id, UpdateMethod method, List<URI> updateSources, String newVersion, String minVersion)Called by the Updater, either after check() was called, or it found out on its own.voidConsoleUpdateManager. notifyVersionConstraint(UpdateTask task, URI newsSource, UpdateType type, String id, String newVersion, String message)A new version is available but cannot be downloaded or installed due to some constraint. -
Uses of UpdateTask in net.i2p.update
Methods in net.i2p.update that return UpdateTask Modifier and Type Method Description UpdateTaskChecker. check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)Check for updates.UpdateTaskUpdater. update(UpdateType type, UpdateMethod method, List<URI> updateSources, String id, String newVersion, long maxTime)Start a download and return a handle to the download task.Methods in net.i2p.update with parameters of type UpdateTask Modifier and Type Method Description voidUpdateManager. notifyAttemptFailed(UpdateTask task, String reason, Throwable t)Not necessarily the end if there are more URIs to try.voidUpdateManager. notifyCheckComplete(UpdateTask task, boolean newer, boolean success)Called by the Checker after check() was called and all notifyVersionAvailable() callbacks are finishedbooleanUpdateManager. notifyComplete(UpdateTask task, String actualVersion, File file)An update has been downloaded but not verified.voidUpdateManager. notifyProgress(UpdateTask task, String status)voidUpdateManager. notifyProgress(UpdateTask task, String status, long downloaded, long totalSize)voidUpdateManager. notifyTaskFailed(UpdateTask task, String reason, Throwable t)The task has finished and failed.booleanUpdateManager. notifyVersionAvailable(UpdateTask task, URI newsSource, UpdateType type, String id, Map<UpdateMethod,List<URI>> sourceMap, String newVersion, String minVersion)Called by the Checker, either after check() was called, or it found out on its own.booleanUpdateManager. notifyVersionAvailable(UpdateTask task, URI newsSource, UpdateType type, String id, UpdateMethod method, List<URI> updateSources, String newVersion, String minVersion)Called by the Checker, either after check() was called, or it found out on its own.voidUpdateManager. notifyVersionConstraint(UpdateTask task, URI newsSource, UpdateType type, String id, String newVersion, String message)A new version is available but cannot be downloaded or installed due to some constraint. -
Uses of UpdateTask in org.klomp.snark
Classes in org.klomp.snark that implement UpdateTask Modifier and Type Class Description (package private) classUpdateRunnerThe downloader for router signed updates.Methods in org.klomp.snark that return UpdateTask Modifier and Type Method Description UpdateTaskUpdateHandler. update(UpdateType type, UpdateMethod method, List<URI> updateSources, String id, String newVersion, long maxTime)Start a download and return a handle to the download task.
-