net.i2p.router.update

## Class NewsTimerTask

- java.lang.Object
- - net.i2p.router.update.NewsTimerTask

- All Implemented Interfaces:
    SimpleTimer.TimedEvent

      class NewsTimerTask
      extends Object
      implements SimpleTimer.TimedEvent

  Task to periodically look for updates to the news.xml, and to keep track of whether that has an announcement for a new version. Also looks for unsigned updates. Runs forever on instantiation, can't be stopped.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NewsTimerTask(RouterContext ctx, ConsoleUpdateManager mgr)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `timeReached()` the time requested has been reached (this call should NOT block, otherwise the whole SimpleTimer gets backed up)

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NewsTimerTask

          public NewsTimerTask(RouterContext ctx,
                               ConsoleUpdateManager mgr)

  - ### Method Detail

    - #### timeReached

          public void timeReached()

      Description copied from interface: `SimpleTimer.TimedEvent`
      the time requested has been reached (this call should NOT block, otherwise the whole SimpleTimer gets backed up)
      Specified by:
        `timeReached` in interface `SimpleTimer.TimedEvent`