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

private class OutboundMessageDistributor.DistributeJobextends JobImpl
Job sending one message to the next routers.
  • Field Details

    • _message

      private final I2NPMessage _message
      The message to distribute.
    • _target

      private final Hash _target
      The hash the message searches for.
    • _tunnel

      private final TunnelId _tunnel
      The tunnel the reply comes back on.
  • Constructor Details

    • DistributeJob

      public DistributeJob(RouterContext ctx, I2NPMessage msg, Hash target, TunnelId id)
      Builds the distribution job.
      Parameters:
      ctx - the router context
      msg - the message to distribute
      target - the hash the message searches for
      id - the tunnel the reply comes back on
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Job
      Descriptive name of the task.
      Returns:
      the descriptive name of the task
    • runJob

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