Package | Description |
---|---|
net.i2p.i2ptunnel |
Implementation of preconfigured tunnels, both for clients and servers,
and a UI for adding more and editing the configuration.
|
net.i2p.i2ptunnel.ui |
Classes for configuring tunnels, used externally by Android.
|
net.i2p.i2ptunnel.web |
The UI for adding tunnels and editing their 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.
|
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
|
static TunnelController |
GeneralHelper.getController(TunnelControllerGroup tcg,
int tunnel) |
String |
GeneralHelper.getPrivateKeyFile(TunnelControllerGroup tcg,
int tunnel) |
static String |
GeneralHelper.getTunnelName(TunnelControllerGroup tcg,
int tunnel) |
protected static List<String> |
GeneralHelper.saveConfig(I2PAppContext context,
TunnelControllerGroup tcg) |
static List<String> |
GeneralHelper.saveTunnel(I2PAppContext context,
TunnelControllerGroup tcg,
int tunnel,
TunnelConfig config) |
protected static List<String> |
GeneralHelper.updateTunnelConfig(TunnelControllerGroup tcg,
int tunnel,
TunnelConfig config) |
Constructor and Description |
---|
GeneralHelper(I2PAppContext context,
TunnelControllerGroup tcg) |
GeneralHelper(TunnelControllerGroup tcg) |
Modifier and Type | Field and Description |
---|---|
protected TunnelControllerGroup |
IndexBean._group |