public static final class MqttMessageBuilders.SubAckBuilder
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
MqttMessageBuilders.SubAckBuilder |
addGrantedQos(MqttQoS qos) |
MqttMessageBuilders.SubAckBuilder |
addGrantedQoses(MqttQoS... qoses) |
MqttSubAckMessage |
build() |
MqttMessageBuilders.SubAckBuilder |
packetId(int packetId) |
MqttMessageBuilders.SubAckBuilder |
packetId(short packetId)
已过时。
use
packetId(int) instead |
MqttMessageBuilders.SubAckBuilder |
properties(MqttProperties properties) |
public MqttMessageBuilders.SubAckBuilder packetId(int packetId)
@Deprecated public MqttMessageBuilders.SubAckBuilder packetId(short packetId)
packetId(int)
insteadpublic MqttMessageBuilders.SubAckBuilder properties(MqttProperties properties)
public MqttMessageBuilders.SubAckBuilder addGrantedQos(MqttQoS qos)
public MqttMessageBuilders.SubAckBuilder addGrantedQoses(MqttQoS... qoses)
public MqttSubAckMessage build()