| Package | Description |
|---|---|
| net.i2p.i2ptunnel | Implementation of preconfigured tunnels for both clients and servers, with a comprehensive UI for tunnel management and configuration. |
| net.i2p.i2ptunnel.ui | Public API classes for programmatic tunnel configuration and management. |
| net.i2p.i2ptunnel.web | Web-based user interface for managing I2PTunnel configurations, implemented
as a webapp packaged in i2ptunnel.war. |
| Modifier and Type | Method and Description |
|---|---|
(package private) TunnelController | I2PTunnel.getController()TunnelController that constructed this, or null. |
| Modifier and Type | Method and Description |
|---|---|
List<TunnelController> | TunnelControllerGroup.getControllers()Retrieve a list of tunnels known. |
| Modifier and Type | Method and Description |
|---|---|
(package private) void | TunnelControllerGroup.acquire(TunnelController controller,
I2PSession session)Note the fact that the controller is using the session so that
it isn't destroyed prematurely. |
void | TunnelControllerGroup.addController(TunnelController controller)Add the given tunnel to the set of known controllers (but don't add it to a config file or start it or anything) |
(package private) void | TunnelControllerGroup.release(TunnelController controller,
I2PSession session)Note the fact that the controller is no longer using the session, and if
no other controllers are using it, destroy the session. |
void | TunnelControllerGroup.removeConfig(TunnelController tc)Remove the configuration of this tunnel only |
List<String> | TunnelControllerGroup.removeController(TunnelController controller)Stop and remove the given tunnel. |
void | TunnelControllerGroup.saveConfig(TunnelController tc)Save the configuration of this tunnel only, may be new. |
| Constructor and Description |
|---|
I2PTunnel(TunnelController tc)New standard constructor in router, with back ref to tc |
| Modifier and Type | Method and Description |
|---|---|
TunnelController | GeneralHelper.getController(int tunnel)Retrieve a tunnel controller by index. |
static TunnelController | GeneralHelper.getController(TunnelControllerGroup tcg,
int tunnel) |
| Modifier and Type | Method and Description |
|---|---|
protected TunnelController | IndexBean.getController(int tunnel) |