net.i2p.i2ptunnel
public class I2PTunnelIRCClient extends I2PTunnelClientBase implements Runnable
Modifier and Type | Class and Description |
---|---|
static class |
I2PTunnelIRCClient.IrcInboundFilter |
static class |
I2PTunnelIRCClient.IrcOutboundFilter |
Modifier and Type | Field and Description |
---|---|
protected List<Destination> |
dests
list of Destination objects that we point at
|
protected long |
readTimeout |
_clientId, _context, _executor, _log, _ownDest, DEFAULT_CONNECT_TIMEOUT, dest, l, mySockets, sockLock, sockMgr
open
Constructor and Description |
---|
I2PTunnelIRCClient(int localPort,
String destinations,
Logging l,
boolean ownDest,
EventDispatcher notifyThis,
I2PTunnel tunnel,
String pkf) |
Modifier and Type | Method and Description |
---|---|
protected void |
clientConnectionRun(Socket s)
Manage a connection in a separate thread.
|
static String |
inboundFilter(String s,
StringBuffer expectedPong) |
static String |
outboundFilter(String s,
StringBuffer expectedPong) |
buildSocketManager, buildSocketManager, buildSocketManager, buildSocketManager, close, closeSocket, createI2PSocket, createI2PSocket, getDefaultOptions, getDefaultOptions, getListenHost, getLocalPort, getSocketManager, getSocketManager, getSocketManager, manageConnection, run, startRunning, verifySocketManager
attachEventDispatcher, detachEventDispatcher, disconnected, errorOccurred, getEventDispatcher, getEvents, getEventValue, getId, getTunnel, ignoreEvents, isOpen, notifyEvent, reportAbuse, routerDisconnected, setId, setName, setTunnel, toString, unIgnoreEvents, waitEventValue
protected List<Destination> dests
protected long readTimeout
public I2PTunnelIRCClient(int localPort, String destinations, Logging l, boolean ownDest, EventDispatcher notifyThis, I2PTunnel tunnel, String pkf) throws IllegalArgumentException
IllegalArgumentException
- if the I2PTunnel does not contain
valid config to contact the routerprotected void clientConnectionRun(Socket s)
I2PTunnelClientBase
clientConnectionRun
in class I2PTunnelClientBase
public static String inboundFilter(String s, StringBuffer expectedPong)
public static String outboundFilter(String s, StringBuffer expectedPong)