Package 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.- Since:
- 0.9.4 moved from NewsFetcher
 
- 
- 
Constructor SummaryConstructors Constructor Description NewsTimerTask(RouterContext ctx, ConsoleUpdateManager mgr)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtimeReached()the time requested has been reached (this call should NOT block, otherwise the whole SimpleTimer gets backed up)
 
- 
- 
- 
Constructor Detail- 
NewsTimerTaskpublic NewsTimerTask(RouterContext ctx, ConsoleUpdateManager mgr) 
 
- 
 - 
Method Detail- 
timeReachedpublic void timeReached() Description copied from interface:SimpleTimer.TimedEventthe time requested has been reached (this call should NOT block, otherwise the whole SimpleTimer gets backed up)- Specified by:
- timeReachedin interface- SimpleTimer.TimedEvent
 
 
- 
 
-