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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Descriptive name of the taskstatic LoadRouterInfoJob.KeyDatareadKeyData(File rkf1, File rkf2) voidrunJob()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:JobDescriptive name of the task -
runJob
public void runJob()Description copied from interface:JobActually 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:
DataFormatExceptionIOException- Since:
- 0.9.16
-