public class I2PSOCKSTunnel extends I2PTunnelClientBase
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT |
static String |
PROP_PROXY_DEFAULT |
static String |
PROP_PROXY_PREFIX
add "default" or port number
|
_clientId, _context, _log, _ownDest, dest, l, listenerReady, mySockets, PROP_USE_SSL, sockLock, sockMgr, ss
open
Constructor and Description |
---|
I2PSOCKSTunnel(int localPort,
Logging l,
boolean ownDest,
EventDispatcher notifyThis,
I2PTunnel tunnel,
String pkf)
As of 0.9.20 this is fast, and does NOT connect the manager to the router,
or open the local socket.
|
Modifier and Type | Method and Description |
---|---|
I2PSocketOptions |
buildOptions(Properties overrides)
Because getDefaultOptions() in super() is protected
|
protected void |
clientConnectionRun(Socket s)
Manage a connection in a separate thread.
|
List<String> |
getDefaultProxies() |
List<String> |
getProxies(int port) |
HashMap<String,List<String>> |
getProxyMap() |
addSubsession, buildSocketManager, buildSocketManager, buildSocketManager, buildSocketManager, close, closeSocket, createI2PSocket, createI2PSocket, createI2PSocket, destroy, getDefaultOptions, getDefaultOptions, getListenHost, getLocalPort, getSocketManager, getSocketManager, getSocketManager, killSharedClient, manageConnection, optionsUpdated, run, startRunning, verifySocketManager
connected, disconnected, errorOccurred, getId, getTunnel, isOpen, reportAbuse, routerDisconnected, setId, setName, setTunnel, toString
attachEventDispatcher, detachEventDispatcher, getEventDispatcher, getEvents, getEventValue, ignoreEvents, notifyEvent, unIgnoreEvents, waitEventValue
public static final String PROP_PROXY_PREFIX
public static final String DEFAULT
public static final String PROP_PROXY_DEFAULT
public I2PSOCKSTunnel(int localPort, Logging l, boolean ownDest, EventDispatcher notifyThis, I2PTunnel tunnel, String pkf)
pkf
- private key file name or null for transient keyprotected void clientConnectionRun(Socket s)
I2PTunnelClientBase
clientConnectionRun
in class I2PTunnelClientBase
public I2PSocketOptions buildOptions(Properties overrides)