Package | Description |
---|---|
net.i2p.router.tunnel |
All the work of managing locally created and participating tunnels,
creating and handling tunnel messages, and their encryption.
|
net.i2p.router.tunnel.pool |
Tunnel creation, tunnel build message handling.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TunnelDispatcher.joinOutbound(PooledTunnelCreatorConfig cfg)
We are the outbound gateway - we created this tunnel
|
Constructor and Description |
---|
OutboundReceiver(RouterContext ctx,
PooledTunnelCreatorConfig cfg) |
Modifier and Type | Method and Description |
---|---|
(package private) PooledTunnelCreatorConfig |
TunnelPool.configureNewTunnel()
This only sets the peers and creation/expiration times in the configuration.
|
(package private) PooledTunnelCreatorConfig |
AliasedTunnelPool.configureNewTunnel() |
(package private) PooledTunnelCreatorConfig |
BuildExecutor.removeFromBuilding(long id)
This returns the PTCC up to a minute after it 'expired', thus allowing us to
still use a tunnel if it was accepted, and to update peer stats.
|
Modifier and Type | Method and Description |
---|---|
List<PooledTunnelCreatorConfig> |
TunnelPool.listPending()
list of tunnelInfo instances of tunnels currently being built
|
List<PooledTunnelCreatorConfig> |
AliasedTunnelPool.listPending() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
TunnelPoolManager.buildComplete(PooledTunnelCreatorConfig cfg)
queue a recurring test job if appropriate
|
(package private) void |
TunnelPool.buildComplete(PooledTunnelCreatorConfig cfg,
BuildExecutor.Result result)
Remove from the _inprogress list and call addTunnel() if result is SUCCESS.
|
(package private) void |
AliasedTunnelPool.buildComplete(PooledTunnelCreatorConfig cfg,
BuildExecutor.Result result) |
void |
BuildExecutor.buildComplete(PooledTunnelCreatorConfig cfg,
BuildExecutor.Result result)
This calls TunnelPool.buildComplete which calls TunnelPool.addTunnel()
on success, and then we wake up the executor.
|
(package private) void |
BuildExecutor.buildTunnel(PooledTunnelCreatorConfig cfg) |
static boolean |
BuildRequestor.request(RouterContext ctx,
PooledTunnelCreatorConfig cfg,
BuildExecutor exec)
Send out a build request message.
|
Constructor and Description |
---|
ExpireJob(RouterContext ctx,
PooledTunnelCreatorConfig cfg) |
TestJob(RouterContext ctx,
PooledTunnelCreatorConfig cfg,
TunnelPool pool) |