| 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 |
|---|---|
static TunnelControllerGroup | TunnelControllerGroup.getInstance()In I2PAppContext will instantiate if necessary and always return non-null. |
static TunnelControllerGroup | TunnelControllerGroup.getInstance(I2PAppContext ctx)In I2PAppContext will instantiate if necessary and always return non-null. |
| Modifier and Type | Field and Description |
|---|---|
protected TunnelControllerGroup | GeneralHelper._group |
| Modifier and Type | Method and Description |
|---|---|
static List<String> | GeneralHelper.deleteTunnel(I2PAppContext context,
TunnelControllerGroup tcg,
int tunnel,
String privKeyFile)Stop the tunnel, delete from config,
rename the private key file if in the default directory |
String | GeneralHelper.getAltPrivateKeyFile(TunnelControllerGroup tcg,
int tunnel)Return the alternate private key file path from a specific group. |
static TunnelController | GeneralHelper.getController(TunnelControllerGroup tcg,
int tunnel) |
String | GeneralHelper.getPrivateKeyFile(TunnelControllerGroup tcg,
int tunnel)Return the private key file path, computing a default if none is configured. |
static String | GeneralHelper.getTunnelName(TunnelControllerGroup tcg,
int tunnel)Return the tunnel name from a specific group. |
protected static List<String> | GeneralHelper.saveConfig(I2PAppContext context,
TunnelControllerGroup tcg,
int tunnel)Save the configuration for an existing tunnel to disk. |
static List<String> | GeneralHelper.saveTunnel(I2PAppContext context,
TunnelControllerGroup tcg,
int tunnel,
TunnelConfig config)Save the configuration for a new or existing tunnel to disk. |
protected static List<String> | GeneralHelper.updateTunnelConfig(TunnelControllerGroup tcg,
int tunnel,
TunnelConfig config)Update the config and if shared, adjust and save the config of other shared clients. |
| Constructor and Description |
|---|
GeneralHelper(I2PAppContext context,
TunnelControllerGroup tcg)Construct a new helper with a specific context. |
GeneralHelper(TunnelControllerGroup tcg)Construct a new helper with the global context. |
| Modifier and Type | Field and Description |
|---|---|
protected TunnelControllerGroup | IndexBean._group |