java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.tunnel.pool.TestJob.OnTestTimeout
All Implemented Interfaces:
Job
Enclosing class:
TestJob

private class TestJob.OnTestTimeoutextends JobImpl
Times out one test message.
  • Field Details

    • _started

      private final long _started
      When the test was sent.
    • _token

      private final TestJob.RoundToken _token
      The round being timed out.
    • _sentMessage

      private OutNetMessage _sentMessage
      The outbound message awaiting its reply.
  • Constructor Details

    • OnTestTimeout

      public OnTestTimeout(long now, TestJob.RoundToken token)
      Handle a test timeout, reporting failure.
      Parameters:
      now - the time the round was dispatched
      token - the round this callback was created for
  • Method Details

    • getName

      public String getName()
      Job name for the test-timeout event.
      Returns:
      the name this job is listed under in the job queue
    • setSentMessage

      public void setSentMessage(OutNetMessage m)
      Store the outbound message sent to the gateway for cleanup.
      Parameters:
      m - the build or test message awaiting a reply
    • runJob

      public void runJob()
      Description copied from interface: Job
      Actually perform the task. This call blocks until the Job is complete.