java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.tunnel.InboundGatewayReceiver.ReceiveJob
All Implemented Interfaces:
Job
Enclosing class:
InboundGatewayReceiver

private class InboundGatewayReceiver.ReceiveJobextends JobImpl
Job receiving one message for the next hop.
  • Field Details

    • _encrypted

      private final byte[] _encrypted
      The encrypted message data.
  • Constructor Details

    • ReceiveJob

      public ReceiveJob(RouterContext ctx, byte[] data)
      Holds the encrypted gateway message so it can be handed to the receiver once the job queue reaches it.
      Parameters:
      ctx - the router context
      data - the encrypted gateway message
  • Method Details

    • getName

      public String getName()
      The name of this job.
      Returns:
      the name this job is listed under in the job queue and the logs, "Lookup IBGW First Hop"
    • runJob

      public void runJob()
      Continue the router info lookup for the next hop.