net.i2p.i2ptunnel
public class I2Ping extends I2PTunnelTask implements Runnable
Modifier and Type | Class and Description |
---|---|
class |
I2Ping.PingHandler |
open
Constructor and Description |
---|
I2Ping(String cmd,
Logging l,
boolean ownDest,
EventDispatcher notifyThis,
I2PTunnel tunnel) |
Modifier and Type | Method and Description |
---|---|
boolean |
close(boolean forced) |
boolean |
ping(Destination dest) |
void |
run() |
void |
runCommand(String cmd) |
attachEventDispatcher, detachEventDispatcher, disconnected, errorOccurred, getEventDispatcher, getEvents, getEventValue, getId, getTunnel, ignoreEvents, isOpen, notifyEvent, reportAbuse, routerDisconnected, setId, setName, setTunnel, toString, unIgnoreEvents, waitEventValue
public I2Ping(String cmd, Logging l, boolean ownDest, EventDispatcher notifyThis, I2PTunnel tunnel)
public void runCommand(String cmd) throws InterruptedException, IOException
InterruptedException
IOException
public boolean close(boolean forced)
close
in class I2PTunnelTask
public boolean ping(Destination dest) throws I2PException
I2PException