Class DataResponseHandler

    • Constructor Detail

    • Method Detail

      • handleResponse

        public void handleResponse​(InetSocketAddress responseFrom,
                                   Transport transport,
                                   byte version,
                                   byte command,
                                   int payloadSize,
                                   ByteBuffer payloadBuffer)
        Description copied from interface: ResponseHandler
        Handle response.
        Specified by:
        handleResponse in interface ResponseHandler
        Overrides:
        handleResponse in class AbstractResponseHandler
        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.