public enum MqttDisconnectReasonCode extends Enum<MqttDisconnectReasonCode> implements MqttReasonCode
Modifier and Type | Method and Description |
---|---|
byte |
value() |
static MqttDisconnectReasonCode |
valueOf(byte b) |
static MqttDisconnectReasonCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MqttDisconnectReasonCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
isError
public static final MqttDisconnectReasonCode NORMAL
public static final MqttDisconnectReasonCode WITH_WILL_MESSAGE
public static final MqttDisconnectReasonCode UNSPECIFIED_ERROR
public static final MqttDisconnectReasonCode MALFORMED_PACKET
public static final MqttDisconnectReasonCode PROTOCOL_ERROR
public static final MqttDisconnectReasonCode IMPLEMENTATION_SPECIFIC_ERROR
public static final MqttDisconnectReasonCode NOT_AUTHORIZED
public static final MqttDisconnectReasonCode SERVER_BUSY
public static final MqttDisconnectReasonCode SERVER_SHUTTING_DOWN
public static final MqttDisconnectReasonCode KEEP_ALIVE_TIMEOUT
public static final MqttDisconnectReasonCode SESSION_TAKEN_OVER
public static final MqttDisconnectReasonCode TOPIC_FILTER_INVALID
public static final MqttDisconnectReasonCode TOPIC_NAME_INVALID
public static final MqttDisconnectReasonCode RECEIVE_MAXIMUM_EXCEEDED
public static final MqttDisconnectReasonCode TOPIC_ALIAS_INVALID
public static final MqttDisconnectReasonCode PACKET_TOO_LARGE
public static final MqttDisconnectReasonCode MESSAGE_RATE_TOO_HIGH
public static final MqttDisconnectReasonCode QUOTA_EXCEEDED
public static final MqttDisconnectReasonCode ADMINISTRATIVE_ACTION
public static final MqttDisconnectReasonCode PAYLOAD_FORMAT_INVALID
public static final MqttDisconnectReasonCode RETAIN_NOT_SUPPORTED
public static final MqttDisconnectReasonCode QOS_NOT_SUPPORTED
public static final MqttDisconnectReasonCode USE_ANOTHER_SERVER
public static final MqttDisconnectReasonCode SERVER_MOVED
public static final MqttDisconnectReasonCode SHARED_SUBSCRIPTIONS_NOT_SUPPORTED
public static final MqttDisconnectReasonCode CONNECTION_RATE_EXCEEDED
public static final MqttDisconnectReasonCode MAXIMUM_CONNECT_TIME
public static final MqttDisconnectReasonCode SUBSCRIPTION_IDENTIFIERS_NOT_SUPPORTED
public static final MqttDisconnectReasonCode WILDCARD_SUBSCRIPTIONS_NOT_SUPPORTED
public static MqttDisconnectReasonCode[] values()
for (MqttDisconnectReasonCode c : MqttDisconnectReasonCode.values()) System.out.println(c);
public static MqttDisconnectReasonCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte value()
value
in interface MqttReasonCode
public static MqttDisconnectReasonCode valueOf(byte b)
Copyright © 2024 Eclipse. All rights reserved.