public class I2PSOCKSTunnel extends I2PTunnelClientBase
| Modifier and Type | Field and 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 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, verifySocketManagerconnected, disconnected, errorOccurred, getId, getTunnel, isOpen, reportAbuse, routerDisconnected, setId, setName, setTunnel, toStringattachEventDispatcher, detachEventDispatcher, getEventDispatcher, getEvents, getEventValue, ignoreEvents, notifyEvent, unIgnoreEvents, waitEventValueprotected 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)