Interface PingResponseCallback

    • Method Detail

      • handleResponse

        void handleResponse​(java.net.InetAddress address,
                            EchoPacket response)

        handleResponse

        Parameters:
        address - a InetAddress object.
        response - a EchoPacket object.
      • handleTimeout

        void handleTimeout​(java.net.InetAddress address,
                           EchoPacket request)

        handleTimeout

        Parameters:
        address - a InetAddress object.
        request - TODO
      • handleError

        void handleError​(java.net.InetAddress address,
                         EchoPacket request,
                         java.lang.Throwable t)

        handleError

        Parameters:
        address - a InetAddress object.
        request - a EchoPacket object.
        t - a Throwable object.