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 |
---|---|
TunnelCreatorConfig |
InboundEndpointProcessor.getConfig() |
Modifier and Type | Method and Description |
---|---|
static void |
BuildMessageGenerator.createRecord(int recordNum,
int hop,
TunnelBuildMessage msg,
TunnelCreatorConfig cfg,
Hash replyRouter,
long replyTunnel,
I2PAppContext ctx,
PublicKey peerKey)
Place the asymmetrically encrypted record in the specified record slot,
containing the hop's configuration (as well as the reply info, if it is an outbound endpoint)
|
int[] |
BuildReplyHandler.decrypt(TunnelBuildReplyMessage reply,
TunnelCreatorConfig cfg,
List<Integer> recordOrder)
Decrypt the tunnel build reply records.
|
static boolean |
BuildMessageGenerator.isBlank(TunnelCreatorConfig cfg,
int hop) |
boolean |
TunnelDispatcher.joinInbound(TunnelCreatorConfig cfg)
We are the inbound endpoint - we created this tunnel
|
boolean |
TunnelDispatcher.joinOutbound(TunnelCreatorConfig cfg)
We are the outbound gateway - we created this tunnel
|
static void |
BuildMessageGenerator.layeredEncrypt(I2PAppContext ctx,
TunnelBuildMessage msg,
TunnelCreatorConfig cfg,
List<Integer> order)
Encrypt the records so their hop ident is visible at the appropriate times.
|
void |
TunnelDispatcher.remove(TunnelCreatorConfig cfg)
We no longer want to participate in this tunnel that we created
|
Constructor and Description |
---|
BatchedRouterPreprocessor(RouterContext ctx,
TunnelCreatorConfig cfg)
for OBGWs
|
InboundEndpointProcessor(RouterContext ctx,
TunnelCreatorConfig cfg)
Deprecated.
used only by unit tests
|
InboundEndpointProcessor(RouterContext ctx,
TunnelCreatorConfig cfg,
IVValidator validator) |
OutboundGatewayProcessor(I2PAppContext ctx,
TunnelCreatorConfig cfg) |
OutboundReceiver(RouterContext ctx,
TunnelCreatorConfig cfg) |
OutboundSender(I2PAppContext ctx,
TunnelCreatorConfig config) |
TunnelGatewayZeroHop(RouterContext context,
TunnelCreatorConfig config) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
PooledTunnelCreatorConfig
Data about a tunnel we created
|
Constructor and Description |
---|
ExpireJob(RouterContext ctx,
TunnelCreatorConfig cfg,
TunnelPool pool) |