| 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() |
TunnelPoolSettings |
ClientTunnelSettings.getInboundSettings() |
TunnelPoolSettings |
TunnelManagerFacade.getInboundSettings(Hash client) |
TunnelPoolSettings |
TunnelManagerFacade.getOutboundSettings() |
TunnelPoolSettings |
ClientTunnelSettings.getOutboundSettings() |
TunnelPoolSettings |
TunnelManagerFacade.getOutboundSettings(Hash client) |
| Modifier and Type | Method and Description |
|---|---|
void |
TunnelManagerFacade.setInboundSettings(Hash client,
TunnelPoolSettings settings) |
void |
TunnelManagerFacade.setInboundSettings(TunnelPoolSettings settings) |
void |
TunnelManagerFacade.setOutboundSettings(Hash client,
TunnelPoolSettings settings) |
void |
TunnelManagerFacade.setOutboundSettings(TunnelPoolSettings 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()
exploratory
|
TunnelPoolSettings |
TunnelPoolManager.getInboundSettings(Hash client) |
TunnelPoolSettings |
TunnelPoolManager.getOutboundSettings()
exploratory
|
TunnelPoolSettings |
TunnelPoolManager.getOutboundSettings(Hash client) |
TunnelPoolSettings |
TunnelPool.getSettings() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
TunnelPeerSelector.getLength(TunnelPoolSettings settings) |
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) |
void |
TunnelPoolManager.setInboundSettings(TunnelPoolSettings settings)
exploratory
|
void |
TunnelPoolManager.setOutboundSettings(Hash client,
TunnelPoolSettings settings) |
void |
TunnelPoolManager.setOutboundSettings(TunnelPoolSettings settings)
exploratory
|
(package private) void |
TunnelPool.setSettings(TunnelPoolSettings settings) |
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) |