public final class MqttSubscriptionOption
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
MqttSubscriptionOption.RetainedHandlingPolicy |
构造器和说明 |
---|
MqttSubscriptionOption(MqttQoS qos,
boolean noLocal,
boolean retainAsPublished,
MqttSubscriptionOption.RetainedHandlingPolicy retainHandling) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isNoLocal() |
boolean |
isRetainAsPublished() |
static MqttSubscriptionOption |
onlyFromQos(MqttQoS qos) |
MqttQoS |
qos() |
MqttSubscriptionOption.RetainedHandlingPolicy |
retainHandling() |
java.lang.String |
toString() |
public MqttSubscriptionOption(MqttQoS qos, boolean noLocal, boolean retainAsPublished, MqttSubscriptionOption.RetainedHandlingPolicy retainHandling)
public static MqttSubscriptionOption onlyFromQos(MqttQoS qos)
public MqttQoS qos()
public boolean isNoLocal()
public boolean isRetainAsPublished()
public MqttSubscriptionOption.RetainedHandlingPolicy retainHandling()
public boolean equals(java.lang.Object o)
equals
在类中 java.lang.Object
public int hashCode()
hashCode
在类中 java.lang.Object
public java.lang.String toString()
toString
在类中 java.lang.Object