java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.client.CreateSessionJob
All Implemented Interfaces:
Job

class CreateSessionJobextends JobImpl
Given an established connection, walk through the process of establishing the leaseset. This requests the TunnelManagerFacade to build tunnels for the client and then once thats done (asynchronously) it requests a lease set from the client.
  • Field Details

    • _log

      private final Log _log
      Logger for this class.
    • _config

      private final SessionConfig _config
      Options for the session being created.
  • Constructor Details

    • CreateSessionJob

      public CreateSessionJob(RouterContext context, SessionConfig config)
      Create a job to request tunnels and then a LeaseSet for one client session.
      Parameters:
      context - the router context, used for the log and the tunnel facade
      config - the session config naming the destination to build tunnels for
  • Method Details

    • getName

      public String getName()
      Return the name.
      Returns:
      the descriptive name of the task
    • runJob

      public void runJob()
      Execute the job.