Interface ResponseHandler

    • Method Detail

      • handleResponse

        void handleResponse​(InetSocketAddress responseFrom,
                            Transport transport,
                            byte version,
                            byte command,
                            int payloadSize,
                            ByteBuffer payloadBuffer)
        Handle response.
        Parameters:
        responseFrom - remove address of the responder, null if unknown.
        transport - response source transport.
        version - message version.
        command - command.
        payloadSize - size of this message data available in the payloadBuffer.
        payloadBuffer - message payload data. Note that this might not be the only message in the buffer. Code must not manilupate buffer.