java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.startup.StartAcceptingClientsJob
- All Implemented Interfaces:
Job
Start the I2CP interface.
Field Summary
Constructor Summary
ConstructorsConstructorDescriptionStartAcceptingClientsJob(RouterContext context) Hands the router context to the superclass.Method Summary
All MethodsMethods inherited from class JobImpl
dropped, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toStringModifier and TypeMethodDescriptionvoiddropped()Default implementation does nothing.final RouterContextThe router context that this job belongs to.longgetJobId()The unique job ID for this job.longThe timestamp when this job was last made ready for execution.The timing object for this job.voidmadeReady(long now) For JobQueue only, not for external use.protected voidrequeue(long delayMs) Requeue this job to run after the specified delay.toString()
Constructor Details
StartAcceptingClientsJob
Hands the router context to the superclass.- Parameters:
context- the router context this job runs in, passed to the superclass
Method Details
getName
Name of this job.- Returns:
- the fixed label "Start Accepting Clients", used to identify this job in logs and job statistics
runJob
public void runJob()Start the client manager to accept I2CP connections.