public class MQTTProtocolHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
| Constructor and Description |
|---|
MQTTProtocolHandler(ActiveMQServer server,
MQTTProtocolManager protocolManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
protected void |
send(int messageId,
String topicName,
int qosLevel,
boolean isRetain,
io.netty.buffer.ByteBuf payload,
int deliveryCount) |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic MQTTProtocolHandler(ActiveMQServer server, MQTTProtocolManager protocolManager)
public void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterprotected void send(int messageId,
String topicName,
int qosLevel,
boolean isRetain,
io.netty.buffer.ByteBuf payload,
int deliveryCount)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.