java.lang.Object
net.i2p.util.SimpleTimer2.TimedEvent
net.i2p.client.impl.I2PSessionImpl.LookupExpiration
All Implemented Interfaces:
Runnable
Enclosing class:
I2PSessionImpl

private class I2PSessionImpl.LookupExpirationextends SimpleTimer2.TimedEvent
Timeout for async lookup, if the router does not respond. Should rarely happen.
  • Field Details

  • Constructor Details

    • LookupExpiration

      public LookupExpiration(I2PSessionImpl.LookupWaiter waiter, long maxWait)
      Prepares to time out one destination lookup.
      Parameters:
      waiter - the waiter to expire
      maxWait - ms to wait before expiring
  • 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