Package net.i2p.router.crypto.ratchet
Class ACKTimer
- java.lang.Object
-
- net.i2p.util.SimpleTimer2.TimedEvent
-
- net.i2p.router.crypto.ratchet.ACKTimer
-
- All Implemented Interfaces:
Runnable
class ACKTimer extends SimpleTimer2.TimedEvent
Send an empty message if the timer expires. This will be created for incoming NS, NSR, ACK request blocks, and forward next key blocks. The vast majority of these will be cancelled before firing, when streaming sends a response. This should only fire if streaming drops completely, and for certain datagram traffic patterns.- Since:
- 0.9.47
-
-
Field Summary
-
Fields inherited from class net.i2p.util.SimpleTimer2.TimedEvent
_state, DEFAULT_FUZZ
-
-
Constructor Summary
Constructors Constructor Description ACKTimer(RouterContext context, Destination from, Destination to)
Caller must schedule
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)-
Methods inherited from class net.i2p.util.SimpleTimer2.TimedEvent
cancel, forceReschedule, reschedule, reschedule, run, schedule, setFuzz
-
-
-
-
Constructor Detail
-
ACKTimer
public ACKTimer(RouterContext context, Destination from, Destination to)
Caller must schedule- Parameters:
from
- local destination ACK will come fromto
- remote destination ACK will go to
-
-
Method Detail
-
timeReached
public void timeReached()
Description copied from class:SimpleTimer2.TimedEvent
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)- Specified by:
timeReached
in classSimpleTimer2.TimedEvent
-
-