public static enum MqttReasonCodes.Disconnect extends java.lang.Enum<MqttReasonCodes.Disconnect>
限定符和类型 | 字段和说明 |
---|---|
protected static MqttReasonCodes.Disconnect[] |
VALUES |
限定符和类型 | 方法和说明 |
---|---|
byte |
byteValue() |
static MqttReasonCodes.Disconnect |
valueOf(byte b) |
static MqttReasonCodes.Disconnect |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static MqttReasonCodes.Disconnect[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final MqttReasonCodes.Disconnect NORMAL_DISCONNECT
public static final MqttReasonCodes.Disconnect DISCONNECT_WITH_WILL_MESSAGE
public static final MqttReasonCodes.Disconnect UNSPECIFIED_ERROR
public static final MqttReasonCodes.Disconnect MALFORMED_PACKET
public static final MqttReasonCodes.Disconnect PROTOCOL_ERROR
public static final MqttReasonCodes.Disconnect IMPLEMENTATION_SPECIFIC_ERROR
public static final MqttReasonCodes.Disconnect NOT_AUTHORIZED
public static final MqttReasonCodes.Disconnect SERVER_BUSY
public static final MqttReasonCodes.Disconnect SERVER_SHUTTING_DOWN
public static final MqttReasonCodes.Disconnect KEEP_ALIVE_TIMEOUT
public static final MqttReasonCodes.Disconnect SESSION_TAKEN_OVER
public static final MqttReasonCodes.Disconnect TOPIC_FILTER_INVALID
public static final MqttReasonCodes.Disconnect TOPIC_NAME_INVALID
public static final MqttReasonCodes.Disconnect RECEIVE_MAXIMUM_EXCEEDED
public static final MqttReasonCodes.Disconnect TOPIC_ALIAS_INVALID
public static final MqttReasonCodes.Disconnect PACKET_TOO_LARGE
public static final MqttReasonCodes.Disconnect MESSAGE_RATE_TOO_HIGH
public static final MqttReasonCodes.Disconnect QUOTA_EXCEEDED
public static final MqttReasonCodes.Disconnect ADMINISTRATIVE_ACTION
public static final MqttReasonCodes.Disconnect PAYLOAD_FORMAT_INVALID
public static final MqttReasonCodes.Disconnect RETAIN_NOT_SUPPORTED
public static final MqttReasonCodes.Disconnect QOS_NOT_SUPPORTED
public static final MqttReasonCodes.Disconnect USE_ANOTHER_SERVER
public static final MqttReasonCodes.Disconnect SERVER_MOVED
public static final MqttReasonCodes.Disconnect SHARED_SUBSCRIPTIONS_NOT_SUPPORTED
public static final MqttReasonCodes.Disconnect CONNECTION_RATE_EXCEEDED
public static final MqttReasonCodes.Disconnect MAXIMUM_CONNECT_TIME
public static final MqttReasonCodes.Disconnect SUBSCRIPTION_IDENTIFIERS_NOT_SUPPORTED
public static final MqttReasonCodes.Disconnect WILDCARD_SUBSCRIPTIONS_NOT_SUPPORTED
protected static final MqttReasonCodes.Disconnect[] VALUES
public static MqttReasonCodes.Disconnect[] values()
for (MqttReasonCodes.Disconnect c : MqttReasonCodes.Disconnect.values()) System.out.println(c);
public static MqttReasonCodes.Disconnect valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public byte byteValue()
public static MqttReasonCodes.Disconnect valueOf(byte b)
b
- the number to decode.