| Package | Description |
|---|---|
| org.dromara.mica.mqtt.codec |
Encoder, decoder and different Message Types for MQTT.
|
| Modifier and Type | Method and Description |
|---|---|
static MqttVersion |
MqttVersion.fromProtocolNameAndLevel(String protocolName,
byte protocolLevel) |
static MqttVersion |
MqttCodecUtil.getMqttVersion(org.tio.core.ChannelContext ctx)
mqtt 版本
|
static MqttVersion |
MqttVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MqttVersion[] |
MqttVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
MqttCodecUtil.isValidClientId(MqttVersion mqttVersion,
int maxClientIdLength,
String clientId) |
MqttSubAckReasonCode |
MqttSubAckReasonCode.limitForMqttVersion(MqttVersion version) |
MqttMessageBuilders.ConnectBuilder |
MqttMessageBuilders.ConnectBuilder.protocolVersion(MqttVersion version) |
protected static void |
MqttCodecUtil.setMqttVersion(org.tio.core.ChannelContext ctx,
MqttVersion version) |
Copyright © 2025. All rights reserved.