Package net.i2p.router.tasks
Class MarkLiveliness
- java.lang.Object
-
- 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
Constructors Constructor Description MarkLiveliness(Router router, File pingFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
timeReached()
the time requested has been reached (this call should NOT block, otherwise the whole SimpleTimer gets backed up)
-
-
-
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 interfaceSimpleTimer.TimedEvent
-
-