net.i2p.router.tunnel.pool
Class OnCreatedJob

java.lang.Object
  extended bynet.i2p.router.JobImpl
      extended bynet.i2p.router.tunnel.pool.OnCreatedJob
All Implemented Interfaces:
Job

class OnCreatedJob
extends JobImpl

The tunnel is fully built, so now add it to our handler, to the pool, and build the necessary test and rebuilding jobs.


Constructor Summary
OnCreatedJob(RouterContext ctx, TunnelPool pool, PooledTunnelCreatorConfig cfg)
           
 
Method Summary
 java.lang.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

OnCreatedJob

public OnCreatedJob(RouterContext ctx,
                    TunnelPool pool,
                    PooledTunnelCreatorConfig cfg)
Method Detail

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.