Packages that use TunnelControllerGroup
Package
Description
Implementation of preconfigured tunnels for clients and servers, including special-purpose tunnels for IRC, SOCKS, HTTP and streaming.
Public API classes for programmatic tunnel configuration and management, providing a stable API for external applications, including the Android client.
The I2PTunnel configuration web interface (i2ptunnel.war): servlets and helpers for creating and editing tunnels.
Helpers and handlers for the router console user interface, packaged in routerconsole.war and accessible only from JSP files.
Uses of TunnelControllerGroup in net.i2p.i2ptunnel
Fields in net.i2p.i2ptunnel declared as TunnelControllerGroupModifier and TypeFieldDescriptionprotected TunnelControllerGroupI2PTunnelServer._tcgThe controller group that owns this tunnel's runner pool, cached fromTunnelControllerGroup.getInstance()once inI2PTunnelServer.run().private static TunnelControllerGroupTunnelControllerGroup.instanceThe single instance of the group.Methods in net.i2p.i2ptunnel that return TunnelControllerGroupModifier and TypeMethodDescriptionstatic TunnelControllerGroupTunnelControllerGroup.getInstance()In I2PAppContext will instantiate if necessary and always return non-null.static TunnelControllerGroupTunnelControllerGroup.getInstance(I2PAppContext ctx) In I2PAppContext will instantiate if necessary and always return non-null.Uses of TunnelControllerGroup in net.i2p.i2ptunnel.ui
Fields in net.i2p.i2ptunnel.ui declared as TunnelControllerGroupModifier and TypeFieldDescriptionprotected final TunnelControllerGroupGeneralHelper._groupThe group of tunnel controllers, or null if the helper was constructed without one.Methods in net.i2p.i2ptunnel.ui with parameters of type TunnelControllerGroupModifier and TypeMethodDescriptionGeneralHelper.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.GeneralHelper.getAltPrivateKeyFile(TunnelControllerGroup tcg, int tunnel) Return the alternate private key file path from a specific group.static TunnelControllerGeneralHelper.getController(TunnelControllerGroup tcg, int tunnel) Get the controller for the given tunnel index.GeneralHelper.getPrivateKeyFile(TunnelControllerGroup tcg, int tunnel) Return the private key file path, computing a default if none is configured.static StringGeneralHelper.getTunnelName(TunnelControllerGroup tcg, int tunnel) Return the tunnel name from a specific group.GeneralHelper.saveConfig(I2PAppContext context, TunnelControllerGroup tcg, int tunnel) Save the configuration for an existing tunnel to disk.GeneralHelper.saveConfig(TunnelControllerGroup tcg, TunnelController cur) Save the configuration to disk.GeneralHelper.saveTunnel(I2PAppContext context, TunnelControllerGroup tcg, int tunnel, TunnelConfig config) Save the configuration for a new or existing tunnel to disk.GeneralHelper.updateTunnelConfig(TunnelControllerGroup tcg, int tunnel, TunnelConfig config) Update the config and if shared, adjust and save the config of other shared clients.private static TunnelControllerGeneralHelper.updateTunnelConfig(TunnelControllerGroup tcg, int tunnel, TunnelConfig config, List<String> msgs) Update the config and if shared, adjust and save the config of other shared clients.Constructors in net.i2p.i2ptunnel.ui with parameters of type TunnelControllerGroupModifierConstructorDescriptionGeneralHelper(I2PAppContext context, TunnelControllerGroup tcg) Construct a new helper with a specific context.Construct a new helper with the global context.Uses of TunnelControllerGroup in net.i2p.i2ptunnel.web
Fields in net.i2p.i2ptunnel.web declared as TunnelControllerGroupModifier and TypeFieldDescriptionprotected final TunnelControllerGroupIndexBean._groupThe configured tunnels, null if the group is not initialized.Uses of TunnelControllerGroup in net.i2p.router.web.helpers
Methods in net.i2p.router.web.helpers with parameters of type TunnelControllerGroupModifier and TypeMethodDescription(package private) static int[]StreamHelper.countStreams(TunnelControllerGroup tcg) Count open streaming sockets by direction, walking the tunnel controllers the same way the stream tables do.