org.opennms.netmgt.ping
Class ParallelPingResponseCallback
java.lang.Object
org.opennms.netmgt.ping.ParallelPingResponseCallback
- All Implemented Interfaces:
- PingResponseCallback
public class ParallelPingResponseCallback
- extends Object
- implements PingResponseCallback
- Author:
- Ben Reed
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParallelPingResponseCallback
public ParallelPingResponseCallback(int count)
handleError
public void handleError(InetAddress address,
org.opennms.protocols.icmp.ICMPEchoPacket packet,
Throwable t)
- Specified by:
handleError in interface PingResponseCallback
handleResponse
public void handleResponse(InetAddress address,
org.opennms.protocols.icmp.ICMPEchoPacket packet)
- Specified by:
handleResponse in interface PingResponseCallback
handleTimeout
public void handleTimeout(InetAddress address,
org.opennms.protocols.icmp.ICMPEchoPacket packet)
- Specified by:
handleTimeout in interface PingResponseCallback
waitFor
public void waitFor()
throws InterruptedException
- Throws:
InterruptedException
getResponseTimes
public List<Number> getResponseTimes()
Copyright ? 2008. All Rights Reserved.