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

private class IntroductionManager.DelaySendextends SimpleTimer2.TimedEvent
Simple fix for RI DSM getting there before RelayIntro. Most times not needed as the compressed RI will fit in the packet with the RelayIntro. SSU2 only.
  • Field Details

    • pkt

      private final UDPPacket pkt
      The packet to send late.
  • Constructor Details

    • DelaySend

      public DelaySend(UDPPacket packet, long delay)
      Schedules a delayed packet send.
      Parameters:
      packet - the packet to send
      delay - how long to wait
  • Method Details

    • timeReached

      public void timeReached()
      Description copied from class: SimpleTimer2.TimedEvent
      Called when this event's scheduled time arrives. Must NOT block. For periodic events, call schedule(period) at the end to self-reschedule.
      Specified by:
      timeReached in class SimpleTimer2.TimedEvent