net.i2p.update
Interface Checker

All Known Implementing Classes:
DevSU3UpdateHandler, DummyHandler, NewsHandler, PluginUpdateHandler, UnsignedUpdateHandler

public interface Checker

Controls one or more types of updates. This must be registered with the UpdateManager.

Since:
0.9.4

Method Summary
 UpdateTask check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)
          Check for updates.
 

Method Detail

check

UpdateTask check(UpdateType type,
                 UpdateMethod method,
                 String id,
                 String currentVersion,
                 long maxTime)
Check for updates. Should not block. If any are found, call back to UpdateManager.notifyUpdateAvailable().

Parameters:
id - plugin name or ignored
maxTime - how long you have
Returns:
active task or null if unable to check