net.i2p.router.tasks
Class ReadConfigJob

java.lang.Object
  extended by net.i2p.router.JobImpl
      extended by net.i2p.router.tasks.ReadConfigJob
All Implemented Interfaces:
Job

public class ReadConfigJob
extends JobImpl

Simply read the router config periodically, so that the user may make config changes externally. This isn't advertised as a feature, but it could be used, for example, to change bandwidth limits at certain times of day. Unfortunately it will also read the file back in every time the router writes it. So maybe this should just be disabled.


Constructor Summary
ReadConfigJob(RouterContext ctx)
           
 
Method Summary
 String getName()
          Descriptive name of the task
 void runJob()
          Actually perform the task.
 
Methods inherited from class net.i2p.router.JobImpl
dropped, getAddedBy, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReadConfigJob

public ReadConfigJob(RouterContext ctx)
Method Detail

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.