public class MqttEncoder extends io.netty.handler.codec.MessageToMessageEncoder<MqttMessage>
| Modifier and Type | Field and Description |
|---|---|
static MqttEncoder |
DEFAUL_ENCODER |
| Constructor and Description |
|---|
MqttEncoder() |
| 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, readexceptionCaught, handlerAdded, handlerRemoved, isSharablepublic static final MqttEncoder DEFAUL_ENCODER
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–2015 The Netty Project. All rights reserved.