public class I2PTunnelIRCServer extends I2PTunnelServer implements Runnable
Modifier and Type | Field and Description |
---|---|
static String |
PROP_CLOAK |
static String |
PROP_HOSTNAME |
static String |
PROP_HOSTNAME_DEFAULT |
static String |
PROP_METHOD |
static String |
PROP_METHOD_DEFAULT |
static String |
PROP_WEBIRC_PASSWORD |
static String |
PROP_WEBIRC_SPOOF_IP |
static String |
PROP_WEBIRC_SPOOF_IP_DEFAULT |
__serverId, _clientExecutor, _log, bidir, i2pss, l, localPort, PROP_UNIQUE_LOCAL, PROP_USE_SSL, readTimeout, remoteHost, remotePort, slock, sockMgr, sslLock, task
open
Constructor and Description |
---|
I2PTunnelIRCServer(InetAddress host,
int port,
File privkey,
String privkeyname,
Logging l,
EventDispatcher notifyThis,
I2PTunnel tunnel) |
Modifier and Type | Method and Description |
---|---|
protected void |
blockingHandle(I2PSocket socket)
This is run in a thread from a limited-size thread pool via Handler.run(),
except for a standard server (this class, no extension, as determined in getUsePool()),
it is run directly in the acceptor thread (see run()).
|
(package private) String |
cloakDest(Destination d)
(Optionally) append 32 bytes of crap to the destination then return
the first few characters of the hash of the whole thing, + ".i2p".
|
close, destroy, getHandlerCount, getReadTimeout, getSocket, getSocket, optionsUpdated, run, setReadTimeout, shouldUsePool, startRunning
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_METHOD
public static final String PROP_METHOD_DEFAULT
public static final String PROP_CLOAK
public static final String PROP_WEBIRC_PASSWORD
public static final String PROP_WEBIRC_SPOOF_IP
public static final String PROP_WEBIRC_SPOOF_IP_DEFAULT
public static final String PROP_HOSTNAME
public static final String PROP_HOSTNAME_DEFAULT
public I2PTunnelIRCServer(InetAddress host, int port, File privkey, String privkeyname, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel)
IllegalArgumentException
- if the I2PTunnel does not contain
valid config to contact the routerprotected void blockingHandle(I2PSocket socket)
I2PTunnelServer
blockingHandle
in class I2PTunnelServer
String cloakDest(Destination d)