public interface PingResponseCallback
PingResponseCallback interface.
| Modifier and Type | Method and Description |
|---|---|
void |
handleError(InetAddress address,
EchoPacket request,
Throwable t)
handleError
|
void |
handleResponse(InetAddress address,
EchoPacket response)
handleResponse
|
void |
handleTimeout(InetAddress address,
EchoPacket request)
handleTimeout
|
void handleResponse(InetAddress address, EchoPacket response)
handleResponse
address - a InetAddress object.response - a EchoPacket object.void handleTimeout(InetAddress address, EchoPacket request)
handleTimeout
address - a InetAddress object.request - TODOvoid handleError(InetAddress address, EchoPacket request, Throwable t)
handleError
address - a InetAddress object.request - a EchoPacket object.t - a Throwable object.Copyright © 2022. All rights reserved.