Class Connection.RetransmitEvent

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

class Connection.RetransmitEvent extends SimpleTimer2.TimedEvent
A single retransmit timer for all packets. See RFCs 5681 and 6298.
Since:
0.9.46
  • Constructor Details

    • RetransmitEvent

      RetransmitEvent()
  • Method Details

    • cancel

      public boolean cancel()
      Overrides:
      cancel in class SimpleTimer2.TimedEvent
      Returns:
      true if cancelled
    • scheduleIfNotRunning

      public boolean scheduleIfNotRunning(long delay)
    • pushBackRTO

      public void pushBackRTO(int rto)
    • 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