java.lang.Object
net.i2p.router.tunnel.pool.BuildHandler.TunnelBuildMessageHandlerJobBuilder
All Implemented Interfaces:
HandlerJobBuilder
Enclosing class:
BuildHandler

private class BuildHandler.TunnelBuildMessageHandlerJobBuilderextends Object implements HandlerJobBuilder
Handle incoming Tunnel Build Messages, which are generally requests to us, but could also be the reply where we are the IBEP.
  • Constructor Details

    • TunnelBuildMessageHandlerJobBuilder

      private TunnelBuildMessageHandlerJobBuilder()
      Builds the job that handles a build request.
  • Method Details

    • createJob

      public Job createJob(I2NPMessage receivedMessage, RouterIdentity from, Hash fromHash)
      Either from or fromHash may be null, but both should be null only if we're to be a IBGW and it came from us as a OBEP.
      Specified by:
      createJob in interface HandlerJobBuilder
      Parameters:
      receivedMessage - I2NP message received
      from - router that sent the message (if available)
      fromHash - hash of the routerIdentity of the router that sent the message (if available)
      Returns:
      a job or null if no particular job is appropriate (in which case, the message should go into the inbound message pool)