net.i2p.i2ptunnel
Class I2Ping
java.lang.Object
net.i2p.i2ptunnel.I2PTunnelTask
net.i2p.i2ptunnel.I2Ping
- All Implemented Interfaces:
- Runnable, EventDispatcher
public class I2Ping
- extends I2PTunnelTask
- implements Runnable
Methods inherited from class net.i2p.i2ptunnel.I2PTunnelTask |
attachEventDispatcher, detachEventDispatcher, disconnected, errorOccurred, getEventDispatcher, getEvents, getEventValue, getId, getTunnel, ignoreEvents, isOpen, notifyEvent, reportAbuse, routerDisconnected, setId, setName, setTunnel, toString, unIgnoreEvents, waitEventValue |
I2Ping
public I2Ping(String cmd,
Logging l,
boolean ownDest,
EventDispatcher notifyThis,
I2PTunnel tunnel)
run
public void run()
- Specified by:
run
in interface Runnable
runCommand
public void runCommand(String cmd)
throws InterruptedException,
IOException
- Throws:
InterruptedException
IOException
close
public boolean close(boolean forced)
- Specified by:
close
in class I2PTunnelTask
ping
public boolean ping(Destination dest)
throws I2PException
- Throws:
I2PException