EnumerationNIOCore

    ByteToMessageDecoderError

    Common errors thrown by ByteToMessageDecoders.

    enum ByteToMessageDecoderError

    Members

    Enumeration Cases

    • case dataReceivedInErrorState(Error, ByteBuffer)

      More data has been received by a ByteToMessageHandler despite the fact that an error has previously been emitted. The associated Error is the error previously emitted and the ByteBuffer is the extra data that has been received. The common cause for this error to be emitted is the user not having torn down the Channel after previously an Error has been sent through the pipeline using fireErrorCaught.

    • case leftoverDataWhenDone(ByteBuffer)

      This error can be thrown by ByteToMessageDecoders if there was unexpectedly some left-over data when the ByteToMessageDecoder was removed from the pipeline or the Channel was closed.

    Structures