java.lang.Object
net.i2p.util.SimpleTimer2.TimedEvent
net.i2p.client.streaming.impl.Connection.AckDupEvent
All Implemented Interfaces:
Runnable
Enclosing class:
Connection

class Connection.AckDupEventextends SimpleTimer2.TimedEvent
Reusable event to send an ACK for a duplicate packet after a short delay.
  • Field Details

    • _created

      private long _created
      Timestamp of the last ACK DUP mark.
  • Constructor Details

    • AckDupEvent

      AckDupEvent()
      Ack dup event.
  • Method Details

    • mark

      void mark()
      Call before each forceReschedule() to record the creation time.
    • timeReached

      public void timeReached()
      Send an ACK for a duplicate packet when the timer fires.
      Specified by:
      timeReached in class SimpleTimer2.TimedEvent