|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.icmp.ParallelPingResponseCallback
public class ParallelPingResponseCallback
ParallelPingResponseCallback class.
| Constructor Summary | |
|---|---|
ParallelPingResponseCallback(int count)
Constructor for ParallelPingResponseCallback. |
|
| Method Summary | |
|---|---|
List<Number> |
getResponseTimes()
getResponseTimes |
void |
handleError(InetAddress address,
EchoPacket request,
Throwable t)
handleError |
void |
handleResponse(InetAddress address,
EchoPacket response)
handleResponse |
void |
handleTimeout(InetAddress address,
EchoPacket request)
handleTimeout |
void |
rethrowError()
|
void |
waitFor()
waitFor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParallelPingResponseCallback(int count)
Constructor for ParallelPingResponseCallback.
count - a int.| Method Detail |
|---|
public void handleError(InetAddress address,
EchoPacket request,
Throwable t)
handleError
handleError in interface PingResponseCallbackaddress - a InetAddress object.request - a EchoPacket object.t - a Throwable object.
public void handleResponse(InetAddress address,
EchoPacket response)
handleResponse
handleResponse in interface PingResponseCallbackaddress - a InetAddress object.response - a EchoPacket object.
public void handleTimeout(InetAddress address,
EchoPacket request)
handleTimeout
handleTimeout in interface PingResponseCallbackaddress - a InetAddress object.request - TODO
public void waitFor()
throws InterruptedException
waitFor
InterruptedException - if any.
public void rethrowError()
throws Exception
Exceptionpublic List<Number> getResponseTimes()
getResponseTimes
List object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||