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

private class PeerTestManager.RemoveTestextends SimpleTimer2.TimedEvent
For when we are Bob or Charlie: SSU 1 Bob/Charlie and SSU 2 Bob forget about charlie's nonce after a short while.
  • Field Details

    • _nonce

      private final Long _nonce
      The nonce the reply must carry.
  • Constructor Details

    • RemoveTest

      public RemoveTest(Long nonce, long delay)
      Schedules itself.
      Parameters:
      nonce - the test whose nonce should be forgotten
      delay - ms to wait before expiring the test
  • Method Details

    • timeReached

      public void timeReached()
      Expire the test. A code is not sent to Alice when Charlie never answered: the test is simply dropped, and Alice's own test timeout decides the outcome.
      Specified by:
      timeReached in class SimpleTimer2.TimedEvent