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

private class BuildHandler.HandleReqextends JobImpl
Job that forwards one build request after its lookup.
  • Field Details

    • _state

      private final BuildHandler.BuildMessageState _state
      The build message being handled.
    • _req

      private final BuildRequestRecord _req
      The record of the request being answered.
    • _nextPeer

      private final Hash _nextPeer
      The next hop the lookup found.
    • _decremented

      private final AtomicBoolean _decremented
      Guard so the pending count drops only once.
    • lookupStartTime

      private final long lookupStartTime
      Time the next-hop lookup began.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      The name of this job.
      Returns:
      the job name used for logging and identification
    • runJob

      public void runJob()
      Complete the join request once the next hop is found.