net.i2p.router.tasks
Class MarkLiveliness

java.lang.Object
  extended by net.i2p.router.tasks.MarkLiveliness
All Implemented Interfaces:
SimpleTimer.TimedEvent

public class MarkLiveliness
extends Object
implements SimpleTimer.TimedEvent

Write a timestamp to the ping file where other routers trying to use the same configuration can see it

Since:
0.8.12 moved from Router.java

Constructor Summary
MarkLiveliness(Router router, File pingFile)
           
 
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

MarkLiveliness

public MarkLiveliness(Router router,
                      File pingFile)
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