| Package | Description |
|---|---|
| net.i2p.router | The I2P router application handles I2P network communication. |
| net.i2p.router.tunnel | Core tunnel management, message processing, and encryption for I2P's anonymous routing system. |
| net.i2p.router.tunnel.pool | Tunnel pool management, creation, and peer selection for I2P's anonymous routing system. |
| Modifier and Type | Method and Description |
|---|---|
void | MessageHistory.tunnelJoined(String state,
HopConfig tunnel)The local router has joined the given tunnel operating in the given state. |
| Modifier and Type | Field and Description |
|---|---|
protected HopConfig | HopProcessor._config |
protected HopConfig | BatchedRouterPreprocessor._hopConfigthe hop config for inbound gateways |
| Modifier and Type | Method and Description |
|---|---|
HopConfig | TunnelCreatorConfig.getConfig(int hop)retrieve the config for the given hop. |
| Modifier and Type | Method and Description |
|---|---|
List<HopConfig> | TunnelDispatcher.listParticipatingTunnels()Get a list of participating tunnels (for console display). |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void | OutboundGatewayProcessor.decrypt(I2PAppContext ctx,
byte[] orig,
int offset,
int length,
HopConfig config)Undo the crypto for a single hop. |
boolean | TunnelDispatcher.joinInboundGateway(HopConfig cfg)We are the inbound gateway in this tunnel, and did not create it |
boolean | TunnelDispatcher.joinOutboundEndpoint(HopConfig cfg)We are the outbound endpoint in this tunnel, and did not create it |
boolean | TunnelDispatcher.joinParticipant(HopConfig cfg)We are a participant in this tunnel, but not as the endpoint or gateway |
void | TunnelDispatcher.remove(HopConfig cfg)Remove a tunnel we're participating in |
void | TunnelDispatcher.removeFromExpirationQueue(HopConfig cfg)Remove a tunnel from the expiration queue. |
| Constructor and Description |
|---|
BatchedRouterPreprocessor(RouterContext ctx,
HopConfig cfg)Create a preprocessor for inbound gateway tunnels. |
HopProcessor(I2PAppContext ctx,
HopConfig config,
IVValidator validator) |
InboundGatewayProcessor(I2PAppContext ctx,
HopConfig config)InboundGatewayProcessor. |
InboundGatewayReceiver(RouterContext ctx,
HopConfig cfg) |
InboundSender(I2PAppContext ctx,
HopConfig config)InboundSender. |
OutboundTunnelEndpoint(RouterContext ctx,
HopConfig config,
HopProcessor processor)OutboundTunnelEndpoint. |
ThrottledPumpedTunnelGateway(RouterContext context,
TunnelGateway.QueuePreprocessor preprocessor,
TunnelGateway.Sender sender,
TunnelGateway.Receiver receiver,
TunnelGatewayPumper pumper,
HopConfig config)Constructs a ThrottledPumpedTunnelGateway with bandwidth throttling. |
TunnelParticipant(RouterContext ctx,
HopConfig config,
HopProcessor processor)Construct for intermediate tunnel participant (not endpoint). |
| Modifier and Type | Method and Description |
|---|---|
void | TunnelPoolManager.removeFromExpirationHop(HopConfig cfg)Remove a participating tunnel from the expiration queue. |