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
  • Constructor Details

    • ACKTimer

      public ACKTimer(RouterContext context, Destination from, Destination to)
      Caller must schedule
      Parameters:
      from - local destination ACK will come from
      to - 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 class SimpleTimer2.TimedEvent