@ChannelHandler.Sharable public final class MqttEncoder extends io.netty.handler.codec.MessageToMessageEncoder<MqttMessage>
| Modifier and Type | Field and Description |
|---|---|
static MqttEncoder |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
MqttMessage msg,
List<Object> out) |
acceptOutboundMessage, writebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharablepublic static final MqttEncoder INSTANCE
protected void encode(io.netty.channel.ChannelHandlerContext ctx,
MqttMessage msg,
List<Object> out)
throws Exception
encode in class io.netty.handler.codec.MessageToMessageEncoder<MqttMessage>ExceptionCopyright © 2008–2025 The Netty Project. All rights reserved.