| 程序包 | 说明 |
|---|---|
| org.jetlinks.core.message.codec |
| 限定符和类型 | 方法和说明 |
|---|---|
MessagePayloadType |
MqttMessageCodecDescription.Topic.getPayloadType() |
default MessagePayloadType |
EncodedMessage.getPayloadType()
已过时。
|
static MessagePayloadType |
MessagePayloadType.of(String of) |
static MessagePayloadType |
MessagePayloadType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static MessagePayloadType[] |
MessagePayloadType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static SimpleEncodedMessage |
SimpleEncodedMessage.of(io.netty.buffer.ByteBuf byteBuf,
MessagePayloadType payloadType) |
SimpleMqttMessage.SimpleMqttMessageBuilder |
SimpleMqttMessage.SimpleMqttMessageBuilder.payloadType(MessagePayloadType payloadType) |
static EncodedMessage |
EncodedMessage.simple(io.netty.buffer.ByteBuf data,
MessagePayloadType payloadType) |
Copyright © 2019–2022. All rights reserved.