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