Class LoadRouterInfoJob

java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.startup.LoadRouterInfoJob
All Implemented Interfaces:
Job

class LoadRouterInfoJob extends JobImpl
Run once or twice at startup by StartupJob, and then runs BootCommSystemJob
  • Constructor Details

    • LoadRouterInfoJob

      public LoadRouterInfoJob(RouterContext ctx)
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Job
      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.
    • readKeyData

      public static LoadRouterInfoJob.KeyData readKeyData(File rkf1, File rkf2) throws DataFormatException, IOException
      Parameters:
      rkf1 - in router.keys format, tried second
      rkf2 - in eepPriv.dat format, tried first
      Returns:
      non-null, throws IOE if neither exisits
      Throws:
      DataFormatException
      IOException
      Since:
      0.9.16