java.lang.Object
net.i2p.util.SimpleTimer2.TimedEvent
net.i2p.router.client.ClientConnectionRunner.Rerequest
All Implemented Interfaces:
Runnable
Enclosing class:
ClientConnectionRunner

private class ClientConnectionRunner.Rerequestextends SimpleTimer2.TimedEvent
Re-requests a lease set until it is published.
  • Field Details

    • _ls

      private final LeaseSet _ls
      The lease set being published.
    • _expirationTime

      private final long _expirationTime
      When the re-request gives up.
    • _onCreate

      private final Job _onCreate
      Job run when the publish succeeds.
    • _onFailed

      private final Job _onFailed
      Job run when the publish fails.
  • Constructor Details

    • Rerequest

      public Rerequest(LeaseSet ls, long expirationTime, Job onCreate, Job onFailed)
      Caller must schedule().
      Parameters:
      ls - dest must be set
      expirationTime - when the re-request gives up
      onCreate - job run when the publish succeeds
      onFailed - job run when the publish fails
  • 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