Class 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 Detail

      • 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 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 class SimpleTimer2.TimedEvent