Class ByteToMessageCodec<I>

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler, ChannelOutboundHandler

public abstract class ByteToMessageCodec<I> extends ChannelDuplexHandler
A Codec for on-the-fly encoding/decoding of bytes to messages and vise-versa. This can be thought of as a combination of ByteToMessageDecoder and MessageToByteEncoder. Be aware that sub-classes of ByteToMessageCodec MUST NOT annotated with
invalid @link
{@link @Sharable
}.