|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use UpdateTask | |
---|---|
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 |
Uses of UpdateTask in net.i2p.router.update |
---|
Classes in net.i2p.router.update that implement UpdateTask | |
---|---|
(package private) class |
NewsFetcher
Task to fetch updates to the news.xml, and to keep track of whether that has an announcement for a new version. |
(package private) class |
PluginUpdateChecker
Check for an updated version of a plugin. |
(package private) class |
PluginUpdateRunner
Check for an updated version of a plugin. |
(package private) class |
UnsignedUpdateChecker
Does a simple EepHead to get the last-modified header. |
(package private) class |
UnsignedUpdateRunner
Eepget the .zip file to the temp dir, then notify.r Moved from UnsignedUpdateHandler and turned into an UpdateTask. |
(package private) class |
UpdateRunner
The 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 | |
---|---|
UpdateTask |
UnsignedUpdateHandler.check(UpdateType type,
UpdateMethod method,
String id,
String currentVersion,
long maxTime)
|
UpdateTask |
NewsHandler.check(UpdateType type,
UpdateMethod method,
String id,
String currentVersion,
long maxTime)
This will check for news or router updates (it does the same thing). |
UpdateTask |
PluginUpdateHandler.check(UpdateType type,
UpdateMethod method,
String appName,
String currentVersion,
long maxTime)
check a single plugin |
UpdateTask |
DummyHandler.check(UpdateType type,
UpdateMethod method,
String id,
String currentVersion,
long maxTime)
Spins off an UpdateTask that sleeps |
UpdateTask |
UnsignedUpdateHandler.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. |
UpdateTask |
PluginUpdateHandler.update(UpdateType type,
UpdateMethod method,
List<URI> updateSources,
String appName,
String newVersion,
long maxTime)
download a single plugin |
UpdateTask |
DummyHandler.update(UpdateType type,
UpdateMethod method,
List<URI> updateSources,
String id,
String newVersion,
long maxTime)
Spins off an UpdateTask that sleeps |
UpdateTask |
UpdateHandler.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 | |
---|---|
void |
ConsoleUpdateManager.notifyAttemptFailed(UpdateTask task,
String reason,
Throwable t)
Not necessarily the end if there are more URIs to try. |
void |
ConsoleUpdateManager.notifyCheckComplete(UpdateTask task,
boolean newer,
boolean success)
Called by the Updater after check() was called and all notifyVersionAvailable() callbacks are finished |
void |
ConsoleUpdateManager.notifyComplete(UpdateTask task,
String status)
An expiring status |
boolean |
ConsoleUpdateManager.notifyComplete(UpdateTask task,
String actualVersion,
File file)
An update has been downloaded but not verified. |
void |
ConsoleUpdateManager.notifyProgress(UpdateTask task,
String status)
|
void |
ConsoleUpdateManager.notifyProgress(UpdateTask task,
String status,
long downloaded,
long totalSize)
|
void |
ConsoleUpdateManager.notifyTaskFailed(UpdateTask task,
String reason,
Throwable t)
The task has finished and failed. |
boolean |
ConsoleUpdateManager.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. |
Uses of UpdateTask in net.i2p.update |
---|
Methods in net.i2p.update that return UpdateTask | |
---|---|
UpdateTask |
Checker.check(UpdateType type,
UpdateMethod method,
String id,
String currentVersion,
long maxTime)
Check for updates. |
UpdateTask |
Updater.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 | |
---|---|
void |
UpdateManager.notifyAttemptFailed(UpdateTask task,
String reason,
Throwable t)
Not necessarily the end if there are more URIs to try. |
void |
UpdateManager.notifyCheckComplete(UpdateTask task,
boolean newer,
boolean success)
Called by the Updater after check() was called and all notifyVersionAvailable() callbacks are finished |
boolean |
UpdateManager.notifyComplete(UpdateTask task,
String actualVersion,
File file)
An update has been downloaded but not verified. |
void |
UpdateManager.notifyProgress(UpdateTask task,
String status)
|
void |
UpdateManager.notifyProgress(UpdateTask task,
String status,
long downloaded,
long totalSize)
|
void |
UpdateManager.notifyTaskFailed(UpdateTask task,
String reason,
Throwable t)
The task has finished and failed. |
boolean |
UpdateManager.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. |
Uses of UpdateTask in org.klomp.snark |
---|
Methods in org.klomp.snark that return UpdateTask | |
---|---|
UpdateTask |
UpdateHandler.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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |