EventDispatcher
public class I2Ping extends I2PTunnelClientBase
修飾子とタイプ | フィールド | 説明 |
---|---|---|
static java.lang.String |
PROP_COMMAND |
_clientId, _context, _log, _ownDest, DEFAULT_CONNECT_TIMEOUT, dest, l, listenerReady, mySockets, PROP_USE_SSL, sockLock, sockMgr, ss
open
コンストラクタ | 説明 |
---|---|
I2Ping(Logging l,
boolean ownDest,
EventDispatcher notifyThis,
I2PTunnel tunnel) |
tunnel.getOptions must contain "command".
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
protected void |
clientConnectionRun(java.net.Socket s) |
Does nothing.
|
boolean |
close(boolean forced) |
Note that the tunnel can be reopened after this by calling startRunning().
|
void |
run() |
Overrides super.
|
void |
runCommand(java.lang.String cmd) |
|
static java.lang.String |
usage() |
With newlines except for last line
|
attachEventDispatcher, detachEventDispatcher, getEventDispatcher, getEvents, getEventValue, ignoreEvents, notifyEvent, unIgnoreEvents, waitEventValue
addSubsession, buildSocketManager, buildSocketManager, buildSocketManager, buildSocketManager, closeSocket, createI2PSocket, createI2PSocket, createI2PSocket, destroy, getDefaultOptions, getDefaultOptions, getListenHost, getLocalPort, getSocketManager, getSocketManager, getSocketManager, killSharedClient, manageConnection, optionsUpdated, startRunning, verifySocketManager
connected, disconnected, errorOccurred, getId, getTunnel, isOpen, reportAbuse, routerDisconnected, setId, setName, setTunnel, toString
public static final java.lang.String PROP_COMMAND
public I2Ping(Logging l, boolean ownDest, EventDispatcher notifyThis, I2PTunnel tunnel)
java.lang.IllegalArgumentException
- if it doesn'tpublic void run()
run
クラス内 I2PTunnelClientBase
public void runCommand(java.lang.String cmd) throws java.lang.InterruptedException, java.io.IOException
java.lang.InterruptedException
java.io.IOException
public static java.lang.String usage()
public boolean close(boolean forced)
I2PTunnelClientBase
close
クラス内 I2PTunnelClientBase
protected void clientConnectionRun(java.net.Socket s)
clientConnectionRun
クラス内 I2PTunnelClientBase