net.i2p.router.update
Class NewsTimerTask

java.lang.Object
  extended by 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.

Since:
0.9.4 moved from NewsFetcher

Constructor Summary
NewsTimerTask(RouterContext ctx, ConsoleUpdateManager mgr)
           
 
Method Summary
 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