Runnable, EventDispatcherI2PSOCKSIRCTunnelpublic class I2PSOCKSTunnel extends I2PTunnelClientBase
| Modifier and Type | Field | Description |
|---|---|---|
static String |
DEFAULT |
|
protected static int |
INITIAL_SO_TIMEOUT |
This is a standard soTimeout, not a total timeout.
|
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, ssopen| Constructor | 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 | 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() |
attachEventDispatcher, detachEventDispatcher, getEventDispatcher, getEvents, getEventValue, ignoreEvents, notifyEvent, unIgnoreEvents, waitEventValueaddSubsession, buildSocketManager, buildSocketManager, buildSocketManager, buildSocketManager, close, closeSocket, createI2PSocket, createI2PSocket, createI2PSocket, destroy, getDefaultOptions, getDefaultOptions, getListenHost, getLocalPort, getSocketManager, getSocketManager, getSocketManager, killSharedClient, manageConnection, optionsUpdated, run, startRunning, verifySocketManagerconnected, disconnected, errorOccurred, getId, getTunnel, isOpen, reportAbuse, routerDisconnected, setId, setName, setTunnel, toStringprotected static final int INITIAL_SO_TIMEOUT
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)
I2PTunnelClientBaseclientConnectionRun in class I2PTunnelClientBasepublic I2PSocketOptions buildOptions(Properties overrides)