Class MqttDecoder

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.handler.codec.ByteToMessageDecoder
io.netty.handler.codec.ReplayingDecoder<io.netty.handler.codec.mqtt.MqttDecoder.DecoderState>
io.netty.handler.codec.mqtt.MqttDecoder
All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

public final class MqttDecoder extends ReplayingDecoder<io.netty.handler.codec.mqtt.MqttDecoder.DecoderState>
Decodes Mqtt messages from bytes, following the MQTT protocol specification v3.1 or v5.0, depending on the version specified in the CONNECT message that first goes through the channel.