netty5/codec-mqtt/src/main/java/io/netty/handler/codec/mqtt
luffyke 7e823e3842
Replace MQTT deprecated API usage
Motivation:

Mqtt procotol defines packetId instead of messageId, replace deprecated method to match protocol definition

Modification:

Replace messageId() to packetId() in MqttEncoder

Result:

Match mqtt protocol definition and improve readability.
2020-03-30 21:23:23 +02:00
..
MqttCodecUtil.java Cleanup of codec-mqtt 2016-03-24 11:02:24 +01:00
MqttConnAckMessage.java Overall clean-up on codec-mqtt 2014-06-21 16:52:28 +09:00
MqttConnAckVariableHeader.java Cleanup of codec-mqtt 2016-03-24 11:02:24 +01:00
MqttConnectMessage.java Add MQTT protocol codec 2014-06-21 16:52:10 +09:00
MqttConnectPayload.java MqttConnectPayload.toString() should use Arrays.toString() instead of [].toString() (#9292) 2019-06-27 21:55:02 +02:00
MqttConnectReturnCode.java Cleanup of codec-mqtt 2016-03-24 11:02:24 +01:00
MqttConnectVariableHeader.java Cleanup of codec-mqtt 2016-03-24 11:02:24 +01:00
MqttDecoder.java Add headers to MqttMessage returned by MqttDecoder in case of DecoderException (#8219) 2018-08-31 15:06:09 +02:00
MqttEncoder.java Replace MQTT deprecated API usage 2020-03-30 21:23:23 +02:00
MqttFixedHeader.java Cleanup of codec-mqtt 2016-03-24 11:02:24 +01:00
MqttIdentifierRejectedException.java Cleanup of codec-mqtt 2016-03-24 11:02:24 +01:00
MqttMessage.java Add constants for fixed-header only MQTT messages (#9749) 2019-11-08 10:17:01 +01:00
MqttMessageBuilders.java MQTT encode doesn't complain if password is set but username not 2017-09-14 09:37:37 -07:00
MqttMessageFactory.java Add headers to MqttMessage returned by MqttDecoder in case of DecoderException (#8219) 2018-08-31 15:06:09 +02:00
MqttMessageIdVariableHeader.java Small performance improvements 2014-11-20 00:10:06 -05:00
MqttMessageType.java Overall clean-up on codec-mqtt 2014-06-21 16:52:28 +09:00
MqttPubAckMessage.java Cleanup of codec-mqtt 2016-03-24 11:02:24 +01:00
MqttPublishMessage.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
MqttPublishVariableHeader.java Issue №6802. Not specified field in MQTT codec (#6807) 2017-06-05 13:21:49 -07:00
MqttQoS.java Add supporting MQTT 3.1.1 2014-11-15 09:07:12 +01:00
MqttSubAckMessage.java Cleanup of codec-mqtt 2016-03-24 11:02:24 +01:00
MqttSubAckPayload.java Uniform null pointer check. (#9840) 2019-12-09 09:47:35 +01:00
MqttSubscribeMessage.java Cleanup of codec-mqtt 2016-03-24 11:02:24 +01:00
MqttSubscribePayload.java Fixed toString() exception in MqttSubscribePayload and MqttUnsubscribePayload (#9202) 2019-05-31 06:46:50 +02:00
MqttTopicSubscription.java Cleanup of codec-mqtt 2016-03-24 11:02:24 +01:00
MqttUnacceptableProtocolVersionException.java Cleanup of codec-mqtt 2016-03-24 11:02:24 +01:00
MqttUnsubAckMessage.java Cleanup of codec-mqtt 2016-03-24 11:02:24 +01:00
MqttUnsubscribeMessage.java Cleanup of codec-mqtt 2016-03-24 11:02:24 +01:00
MqttUnsubscribePayload.java Fixed toString() exception in MqttSubscribePayload and MqttUnsubscribePayload (#9202) 2019-05-31 06:46:50 +02:00
MqttVersion.java Cleanup of codec-mqtt 2016-03-24 11:02:24 +01:00
package-info.java Add MQTT protocol codec 2014-06-21 16:52:10 +09:00