パッケージ | 説明 |
---|---|
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.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
TunnelCreatorConfig |
InboundEndpointProcessor.getConfig() |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
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,
java.util.List<java.lang.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,
java.util.List<java.lang.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
|
コンストラクタ | 説明 |
---|---|
BatchedRouterPreprocessor(RouterContext ctx,
TunnelCreatorConfig cfg) |
for OBGWs
|
InboundEndpointProcessor(RouterContext ctx,
TunnelCreatorConfig cfg) |
推奨されていません。
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) |
修飾子とタイプ | クラス | 説明 |
---|---|---|
(package private) class |
PooledTunnelCreatorConfig |
Data about a tunnel we created
|
コンストラクタ | 説明 |
---|---|
ExpireJob(RouterContext ctx,
TunnelCreatorConfig cfg,
TunnelPool pool) |