public static final class MqttMessageBuilders.SubscribeBuilder
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
MqttMessageBuilders.SubscribeBuilder |
addSubscription(MqttQoS qos,
java.lang.String topic) |
MqttMessageBuilders.SubscribeBuilder |
addSubscription(java.lang.String topic,
MqttSubscriptionOption option) |
MqttSubscribeMessage |
build() |
MqttMessageBuilders.SubscribeBuilder |
messageId(int messageId) |
MqttMessageBuilders.SubscribeBuilder |
properties(MqttProperties properties) |
public MqttMessageBuilders.SubscribeBuilder addSubscription(MqttQoS qos, java.lang.String topic)
public MqttMessageBuilders.SubscribeBuilder addSubscription(java.lang.String topic, MqttSubscriptionOption option)
public MqttMessageBuilders.SubscribeBuilder messageId(int messageId)
public MqttMessageBuilders.SubscribeBuilder properties(MqttProperties properties)
public MqttSubscribeMessage build()