public static enum MqttReasonCodes.SubAck extends java.lang.Enum<MqttReasonCodes.SubAck>
限定符和类型 | 方法和说明 |
---|---|
byte |
byteValue() |
static MqttReasonCodes.SubAck |
valueOf(byte b) |
static MqttReasonCodes.SubAck |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static MqttReasonCodes.SubAck[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final MqttReasonCodes.SubAck GRANTED_QOS_0
public static final MqttReasonCodes.SubAck GRANTED_QOS_1
public static final MqttReasonCodes.SubAck GRANTED_QOS_2
public static final MqttReasonCodes.SubAck UNSPECIFIED_ERROR
public static final MqttReasonCodes.SubAck IMPLEMENTATION_SPECIFIC_ERROR
public static final MqttReasonCodes.SubAck NOT_AUTHORIZED
public static final MqttReasonCodes.SubAck TOPIC_FILTER_INVALID
public static final MqttReasonCodes.SubAck PACKET_IDENTIFIER_IN_USE
public static final MqttReasonCodes.SubAck QUOTA_EXCEEDED
public static final MqttReasonCodes.SubAck SHARED_SUBSCRIPTIONS_NOT_SUPPORTED
public static final MqttReasonCodes.SubAck SUBSCRIPTION_IDENTIFIERS_NOT_SUPPORTED
public static final MqttReasonCodes.SubAck WILDCARD_SUBSCRIPTIONS_NOT_SUPPORTED
public static MqttReasonCodes.SubAck[] values()
for (MqttReasonCodes.SubAck c : MqttReasonCodes.SubAck.values()) System.out.println(c);
public static MqttReasonCodes.SubAck valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public byte byteValue()
public static MqttReasonCodes.SubAck valueOf(byte b)
b
- the number to decode.