cc.otavia.handler.codec
Members list
Packages
Type members
Classlikes
An Exception which is thrown by a codec.
An Exception which is thrown by a codec.
Attributes
- Supertypes
-
class RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class DecoderExceptionclass DecompressionExceptionclass CorruptedFrameExceptionclass TooLongFrameExceptionclass EncoderExceptionclass CompressionExceptionShow all
An DecoderException which is thrown when the received frame data could not be decoded by an inbound handler.
An DecoderException which is thrown when the received frame data could not be decoded by an inbound handler.
Attributes
- Supertypes
-
class DecoderExceptionclass CodecExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
An CodecException which is thrown by a decoder.
An CodecException which is thrown by a decoder.
Attributes
- Supertypes
-
class CodecExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
An CodecException which is thrown by an encoder.
An CodecException which is thrown by an encoder.
Attributes
- Supertypes
-
class CodecExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class CompressionException
A decoder that splits the received Buffers by the fixed number of bytes. For example, if you received the following four fragmented packets:
A decoder that splits the received Buffers by the fixed number of bytes. For example, if you received the following four fragmented packets:
+---+----+------+----+\ | A | BC | DEFG | HI |\ +---+----+------+----+\
A FixedLengthFrameDecoder(3) will decode them into the following three packets with the fixed length:
+-----+-----+-----+\ | ABC | DEF | GHI |\ +-----+-----+-----+\
Value parameters
- frameLength
-
the length of the frame
Attributes
- Supertypes
A CodecException which is thrown when a Channel is closed unexpectedly before the codec finishes handling the current message, such as missing response while waiting for a request.
A CodecException which is thrown when a Channel is closed unexpectedly before the codec finishes handling the current message, such as missing response while waiting for a request.
Attributes
- Supertypes
-
class CodecExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
An DecoderException which is thrown when the length of the frame decoded is greater than the allowed maximum.
An DecoderException which is thrown when the length of the frame decoded is greater than the allowed maximum.
Attributes
- Supertypes
-
class DecoderExceptionclass CodecExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Thrown if an unsupported message is received by a codec.
Thrown if an unsupported message is received by a codec.
Attributes
- Companion
- object
- Supertypes
-
class CodecExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type