public class NewsHandler extends UpdateHandler implements Checker
_context, _mgr| Constructor and Description |
|---|
NewsHandler(RouterContext ctx,
ConsoleUpdateManager mgr) |
| Modifier and Type | Method and Description |
|---|---|
UpdateTask |
check(UpdateType type,
UpdateMethod method,
String id,
String currentVersion,
long maxTime)
This will check for news or router updates (it does the same thing).
|
static void |
main(String[] args)
CLI fetch
|
updatepublic NewsHandler(RouterContext ctx, ConsoleUpdateManager mgr)
public UpdateTask check(UpdateType type, UpdateMethod method, String id, String currentVersion, long maxTime)
public static void main(String[] args)