Interface InboundHandler

    • Method Detail

      • dataAvailable

        void dataAvailable​(Connection connection,
        Will be called if data is available on the connection's input stream. The inbound handler must read this data out of the stream and should forward it to further processing to some async running task to return immediately. If this method throws an IOException, the connection will be closed.
        connection - connection.
        inputStream - the connections's input stream.
        Throws: - on error to close the connection.