Package net.i2p.router.startup
Class LoadRouterInfoJob
- java.lang.Object
-
- net.i2p.router.JobImpl
-
- net.i2p.router.startup.LoadRouterInfoJob
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoadRouterInfoJob.KeyData
-
Constructor Summary
Constructors Constructor Description LoadRouterInfoJob(RouterContext ctx)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
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, requeue, toString
-
-
-
-
Constructor Detail
-
LoadRouterInfoJob
public LoadRouterInfoJob(RouterContext ctx)
-
-
Method Detail
-
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
-
-