public static enum MqttReasonCodes.Disconnect extends Enum<MqttReasonCodes.Disconnect>
Modifier and Type | Field and Description |
---|---|
protected static MqttReasonCodes.Disconnect[] |
VALUES |
Modifier and Type | Method and Description |
---|---|
byte |
byteValue() |
static MqttReasonCodes.Disconnect |
valueOf(byte b) |
static MqttReasonCodes.Disconnect |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MqttReasonCodes.Disconnect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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(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 byteValue()
public static MqttReasonCodes.Disconnect valueOf(byte b)
b
- the number to decode.Copyright © 2008–2024 The Netty Project. All rights reserved.