|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PingResponseHandler
The Ping
result handler interface. It is used for asynchronous handling
of Ping results.
Method Summary | |
---|---|
void |
handleException(PingRequest request,
java.lang.Exception exception)
Method called by Ping in case exception occurred when receiving ICMP echo response. |
void |
handleResponse(PingRequest request,
IcmpEchoResponse response)
Method called by Ping on receiving proper ICMP echo response. |
void |
handleTimeout(PingRequest request)
Method called by Ping in case timeout occurred when receiving ICMP echo response. |
Method Detail |
---|
void handleResponse(PingRequest request, IcmpEchoResponse response)
request
- the descriptor of request issued by echo()
methodresponse
- ICMP response receivedvoid handleTimeout(PingRequest request)
request
- the descriptor of request issued by echo()
methodvoid handleException(PingRequest request, java.lang.Exception exception)
Ping
class so it is very probable it
will not work any more.
request
- the descriptor of request issued by echo()
methodexception
- exception occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |