class PeerTestEvent extends SimpleTimer2.TimedEvent
_state, DEFAULT_FUZZ| Constructor and Description |
|---|
PeerTestEvent(RouterContext ctx,
UDPTransport udp,
PeerTestManager ptmgr) |
| Modifier and Type | Method and Description |
|---|---|
void |
forceRunImmediately(boolean isIPv6)
Run within the next 5 seconds at the latest
|
void |
forceRunSoon(boolean isIPv6)
Run within the next 45 seconds at the latest
|
void |
setIsAlive(boolean isAlive) |
void |
setLastTested(boolean isIPv6)
Set the last-tested timer to now
|
void |
timeReached()
Simple interface for events to be queued up and notified on expiration
the time requested has been reached (this call should NOT block,
otherwise the whole SimpleTimer gets backed up)
|
cancel, forceReschedule, reschedule, reschedule, run, schedule, setFuzzPeerTestEvent(RouterContext ctx, UDPTransport udp, PeerTestManager ptmgr)
public void timeReached()
SimpleTimer2.TimedEventtimeReached in class SimpleTimer2.TimedEventpublic void forceRunSoon(boolean isIPv6)
public void forceRunImmediately(boolean isIPv6)
public void setIsAlive(boolean isAlive)
public void setLastTested(boolean isIPv6)