Package net.i2p.router.transport.udp
Class PeerTestEvent
- java.lang.Object
- 
- net.i2p.util.SimpleTimer2.TimedEvent
- 
- net.i2p.router.transport.udp.PeerTestEvent
 
 
- 
- All Implemented Interfaces:
- Runnable
 
 class PeerTestEvent extends SimpleTimer2.TimedEvent Initiate a test (we are Alice)- Since:
- 0.9.30 moved out of UDPTransport
 
- 
- 
Field Summary- 
Fields inherited from class net.i2p.util.SimpleTimer2.TimedEvent_state, DEFAULT_FUZZ
 
- 
 - 
Constructor SummaryConstructors Constructor Description PeerTestEvent(RouterContext ctx, UDPTransport udp, PeerTestManager ptmgr)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidforceRunImmediately(boolean isIPv6)Run within the next 5 seconds at the latestvoidforceRunSoon(boolean isIPv6)Run within the next 45 seconds at the latestvoidforceRunSoon(boolean isIPv6, long delay)Run within the specified time at the latestvoidsetIsAlive(boolean isAlive)voidsetLastTested(boolean isIPv6)Set the last-tested timer to nowvoidtimeReached()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)- 
Methods inherited from class net.i2p.util.SimpleTimer2.TimedEventcancel, forceReschedule, reschedule, reschedule, run, schedule, setFuzz
 
- 
 
- 
- 
- 
Constructor Detail- 
PeerTestEventPeerTestEvent(RouterContext ctx, UDPTransport udp, PeerTestManager ptmgr) 
 
- 
 - 
Method Detail- 
timeReachedpublic void timeReached() Description copied from class:SimpleTimer2.TimedEventSimple 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)- Specified by:
- timeReachedin class- SimpleTimer2.TimedEvent
 
 - 
forceRunSoonpublic void forceRunSoon(boolean isIPv6) Run within the next 45 seconds at the latest- Since:
- 0.9.13
 
 - 
forceRunSoonpublic void forceRunSoon(boolean isIPv6, long delay)Run within the specified time at the latest- Since:
- 0.9.39
 
 - 
forceRunImmediatelypublic void forceRunImmediately(boolean isIPv6) Run within the next 5 seconds at the latest- Since:
- 0.9.13
 
 - 
setIsAlivepublic void setIsAlive(boolean isAlive) 
 - 
setLastTestedpublic void setLastTested(boolean isIPv6) Set the last-tested timer to now- Since:
- 0.9.13
 
 
- 
 
-