net.i2p.router.tunnel.pool
Class RequestTunnelJob
java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.tunnel.pool.RequestTunnelJob
- All Implemented Interfaces:
- Job
- public class RequestTunnelJob
- extends JobImpl
queue up a job to request the endpoint to join the tunnel, which then
requeues up another job for earlier hops, etc, until it reaches the
gateway. after the gateway is confirmed, onCreated is fired.
Method Summary |
java.lang.String |
getName()
Descriptive name of the task |
void |
runJob()
Actually perform the task. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HOP_REQUEST_TIMEOUT
static final int HOP_REQUEST_TIMEOUT
- See Also:
- Constant Field Values
RequestTunnelJob
public RequestTunnelJob(RouterContext ctx,
TunnelCreatorConfig cfg,
Job onCreated,
Job onFailed,
int hop,
boolean isFake,
boolean isExploratory)
getName
public java.lang.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.