@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, write
bind, close, connect, deregister, disconnect, flush, read
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
public 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>
Exception
Copyright © 2008–2021 The Netty Project. All rights reserved.