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
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
ConstructorDescriptionACKTimer
(RouterContext context, Destination from, Destination to) Caller must schedule -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
ACKTimer
Caller must schedule- Parameters:
from
- local destination ACK will come fromto
- remote destination ACK will go to
-
-
Method Details
-
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
-