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

private class IntroductionManager.DelayIntroextends SimpleTimer2.TimedEvent
Wait for a relay request, then relay the RouterInfo.
  • Field Details

    • bob

      private final PeerState2 bob
      Bob's peer state being relayed through.
    • alice

      private final Hash alice
      Alice's router hash.
    • data

      private final byte[] data
      The relay request data.
    • count

      private volatile int count
      Relays sent for this request so far.
    • DELAY

      private static final long DELAY
      Delay between relay retries, in ms.
      See Also:
  • Constructor Details

    • DelayIntro

      public DelayIntro(PeerState2 b, Hash a, byte[] d)
      Schedules a delayed introduction relay.
      Parameters:
      b - Bob's peer state
      a - Alice's router hash
      d - the relay request data
  • 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