java.lang.Object
net.i2p.util.SimpleTimer2.TimedEvent
net.i2p.router.transport.udp.PeerStateDestroyed.ACKTimer
All Implemented Interfaces:
Runnable
Enclosing class:
PeerStateDestroyed

private class PeerStateDestroyed.ACKTimerextends SimpleTimer2.TimedEvent
A timer to send an ack+destroy packet.
  • Field Details

    • _delay

      private long _delay
      Delay before the next Destroyed retransmit.
  • Constructor Details

    • ACKTimer

      public ACKTimer()
      Caller must schedule.
  • Method Details

    • schedule

      public void schedule()
      Schedule the ack+destroy packet.
    • timeReached

      public void timeReached()
      Send a termination+ack+token packet, unless acks were already sent as indicated by _wantACKSendSince == 0. Also does retransmission, if we were the one that sent the first termination.
      Specified by:
      timeReached in class SimpleTimer2.TimedEvent