cc.otavia.handler.codec
Members list
Packages
Type members
Classlikes
Attributes
- Supertypes
-
trait Byte2ByteCodectrait Byte2ByteEncodertrait Byte2ByteDecoderclass ChannelHandlerAdaptertrait ChannelHandlerclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class SslHandler
Attributes
- Supertypes
-
trait Byte2ByteDecoderclass ChannelHandlerAdaptertrait ChannelHandlerclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class Base64Decoder
Attributes
- Supertypes
-
trait Byte2ByteEncoderclass ChannelHandlerAdaptertrait ChannelHandlerclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class Base64Encoder
Attributes
- Supertypes
-
trait Message2ByteEncodertrait Byte2MessageDecoderclass ChannelHandlerAdaptertrait ChannelHandlerclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Byte2MessageDecoderclass ChannelHandlerAdaptertrait ChannelHandlerclass Objecttrait Matchableclass AnyShow all
- Known subtypes
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
-
class ByteToMessageDecodertrait Byte2MessageDecoderclass ChannelHandlerAdaptertrait ChannelHandlerclass Objecttrait Matchableclass AnyShow all
ChannelHandler which encodes message in a stream-like fashion from one message to a Buffer. Example implementation which encodes Integers to a Buffer.
ChannelHandler which encodes message in a stream-like fashion from one message to a Buffer. Example implementation which encodes Integers to a Buffer.
class IntegerEncoder extends MessageToByteEncoder[Integer]() {
override protected def encode(ctx: ChannelHandlerContext, msg: Integer, out: Buffer): Unit = {
out.writeInt(msg)
}
}
Attributes
- Supertypes
-
trait Message2ByteEncoderclass ChannelHandlerAdaptertrait ChannelHandlerclass Objecttrait Matchableclass AnyShow all
- Known subtypes
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