Package net.i2p.router.update
Class DummyHandler
java.lang.Object
net.i2p.router.update.DummyHandler
class DummyHandler extends Object implements Checker, Updater
Dummy to lock up the updates for a period of time
- Since:
- 0.9.4
-
Constructor Summary
Constructors Constructor Description DummyHandler(RouterContext ctx, ConsoleUpdateManager mgr)
-
Method Summary
Modifier and Type Method Description UpdateTask
check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)
Spins off an UpdateTask that sleepsUpdateTask
update(UpdateType type, UpdateMethod method, List<URI> updateSources, String id, String newVersion, long maxTime)
Spins off an UpdateTask that sleeps
-
Constructor Details
-
Method Details
-
check
public UpdateTask check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)Spins off an UpdateTask that sleeps -
update
public UpdateTask update(UpdateType type, UpdateMethod method, List<URI> updateSources, String id, String newVersion, long maxTime)Spins off an UpdateTask that sleeps
-