Package net.i2p.router.startup
Class LoadRouterInfoJob
java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.startup.LoadRouterInfoJob
- All Implemented Interfaces:
Job
Run once or twice at startup by StartupJob,
and then runs BootCommSystemJob
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Descriptive name of the taskstatic LoadRouterInfoJob.KeyData
readKeyData
(File rkf1, File rkf2) void
runJob()
Actually perform the task.Methods inherited from class net.i2p.router.JobImpl
dropped, getAddedBy, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, madeReady, requeue, toString
-
Constructor Details
-
LoadRouterInfoJob
-
-
Method Details
-
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 secondrkf2
- in eepPriv.dat format, tried first- Returns:
- non-null, throws IOE if neither exisits
- Throws:
DataFormatException
IOException
- Since:
- 0.9.16
-