| Package | Description |
|---|---|
| net.i2p.router | The I2P router application handles I2P network communication. |
| net.i2p.router.dummy | Dummy implementations and stub classes for testing purposes. |
| net.i2p.router.tunnel.pool | Tunnel pool management, creation, and peer selection for I2P's anonymous routing system. |
| Modifier and Type | Method and Description |
|---|---|
TunnelPoolSettings | TunnelManagerFacade.getInboundSettings()getInboundSettings(). |
TunnelPoolSettings | ClientTunnelSettings.getInboundSettings() |
TunnelPoolSettings | TunnelManagerFacade.getInboundSettings(Hash client)client). |
TunnelPoolSettings | TunnelManagerFacade.getOutboundSettings()getOutboundSettings(). |
TunnelPoolSettings | ClientTunnelSettings.getOutboundSettings() |
TunnelPoolSettings | TunnelManagerFacade.getOutboundSettings(Hash client)client). |
| Modifier and Type | Method and Description |
|---|---|
void | TunnelManagerFacade.setInboundSettings(Hash client,
TunnelPoolSettings settings)settings). |
void | TunnelManagerFacade.setInboundSettings(TunnelPoolSettings settings)settings). |
void | TunnelManagerFacade.setOutboundSettings(Hash client,
TunnelPoolSettings settings)settings). |
void | TunnelManagerFacade.setOutboundSettings(TunnelPoolSettings settings)settings). |
| Modifier and Type | Method and Description |
|---|---|
TunnelPoolSettings | DummyTunnelManagerFacade.getInboundSettings() |
TunnelPoolSettings | DummyTunnelManagerFacade.getInboundSettings(Hash client) |
TunnelPoolSettings | DummyTunnelManagerFacade.getOutboundSettings() |
TunnelPoolSettings | DummyTunnelManagerFacade.getOutboundSettings(Hash client) |
| Modifier and Type | Method and Description |
|---|---|
void | DummyTunnelManagerFacade.setInboundSettings(Hash client,
TunnelPoolSettings settings) |
void | DummyTunnelManagerFacade.setInboundSettings(TunnelPoolSettings settings) |
void | DummyTunnelManagerFacade.setOutboundSettings(Hash client,
TunnelPoolSettings settings) |
void | DummyTunnelManagerFacade.setOutboundSettings(TunnelPoolSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
TunnelPoolSettings | TunnelPoolManager.getInboundSettings()Get the inbound exploratory tunnel pool settings. |
TunnelPoolSettings | TunnelPoolManager.getInboundSettings(Hash client)Get settings for a client's inbound tunnel pool. |
TunnelPoolSettings | TunnelPoolManager.getOutboundSettings()Get the outbound exploratory tunnel pool settings. |
TunnelPoolSettings | TunnelPoolManager.getOutboundSettings(Hash client)Get settings for a client's outbound tunnel pool. |
TunnelPoolSettings | TunnelPool.getSettings()Pool settings. |
| Modifier and Type | Method and Description |
|---|---|
static String | TunnelPool.formatPoolIdentity(TunnelPoolSettings settings)Format a pool identity for log messages, combining nickname and truncated hash. |
protected int | TunnelPeerSelector.getLength(TunnelPoolSettings settings)Determine the tunnel length (number of hops). |
protected boolean | TunnelPeerSelector.isDuplicateSequence(TunnelPoolSettings settings,
List<Hash> newPeers)Check if the selected peer sequence matches an existing tunnel in the pool. |
protected List<Hash> | TunnelPeerSelector.regeneratePeers(TunnelPoolSettings settings,
List<Hash> peers)Regenerate tunnel peers to avoid duplicate sequence. |
protected List<Hash> | TunnelPeerSelector.selectExplicit(TunnelPoolSettings settings,
int length)For debugging, also possibly for restricted routes. |
List<Hash> | ExploratoryPeerSelector.selectPeers(TunnelPoolSettings settings)Returns ENDPOINT FIRST, GATEWAY LAST!!!!
In: us .. |
abstract List<Hash> | TunnelPeerSelector.selectPeers(TunnelPoolSettings settings)Which peers should go into the next tunnel for the given settings? |
List<Hash> | ClientPeerSelector.selectPeers(TunnelPoolSettings settings)Returns ENDPOINT FIRST, GATEWAY LAST!!!!
In: us .. |
void | TunnelPoolManager.setInboundSettings(Hash client,
TunnelPoolSettings settings)Set settings for a client's inbound tunnel pool. |
void | TunnelPoolManager.setInboundSettings(TunnelPoolSettings settings)Set the inbound exploratory tunnel pool settings. |
void | TunnelPoolManager.setOutboundSettings(Hash client,
TunnelPoolSettings settings)Set settings for a client's outbound tunnel pool. |
void | TunnelPoolManager.setOutboundSettings(TunnelPoolSettings settings)Set the outbound exploratory tunnel pool settings. |
(package private) void | TunnelPool.setSettings(TunnelPoolSettings settings)Update the settings for this pool |
protected boolean | TunnelPeerSelector.shouldSelectExplicit(TunnelPoolSettings settings)For debugging, also possibly for restricted routes?
Needs analysis and testing |
| Constructor and Description |
|---|
AliasedTunnelPool(RouterContext ctx,
TunnelPoolManager mgr,
TunnelPoolSettings settings,
TunnelPool aliasOf)Create an aliased tunnel pool. |
TunnelPool(RouterContext ctx,
TunnelPoolManager mgr,
TunnelPoolSettings settings,
TunnelPeerSelector sel)Tunnel pool |