public class I2PSOCKSTunnel extends I2PTunnelClientBase
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT |
protected Destination |
outProxyDest |
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) |
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() |
buildSocketManager, buildSocketManager, buildSocketManager, buildSocketManager, close, closeSocket, createI2PSocket, createI2PSocket, createI2PSocket, getDefaultOptions, getDefaultOptions, getListenHost, getLocalPort, getSocketManager, getSocketManager, getSocketManager, 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
protected Destination outProxyDest
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)