public class MQTTProtocolHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
| Constructor and Description |
|---|
MQTTProtocolHandler(ActiveMQServer server,
MQTTProtocolManager protocolManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
act(io.netty.handler.codec.mqtt.MqttMessage message) |
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.ChannelInboundHandlerAdapterpublic void act(io.netty.handler.codec.mqtt.MqttMessage message)
protected void send(int messageId,
String topicName,
int qosLevel,
boolean isRetain,
io.netty.buffer.ByteBuf payload,
int deliveryCount)
Copyright © 2021 The Apache Software Foundation. All rights reserved.