public enum MqttConnectReturnCode extends Enum<MqttConnectReturnCode>
MqttConnAckMessage
Modifier and Type | Method and Description |
---|---|
byte |
byteValue() |
static MqttConnectReturnCode |
valueOf(byte b) |
static MqttConnectReturnCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MqttConnectReturnCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MqttConnectReturnCode CONNECTION_ACCEPTED
public static final MqttConnectReturnCode CONNECTION_REFUSED_UNACCEPTABLE_PROTOCOL_VERSION
public static final MqttConnectReturnCode CONNECTION_REFUSED_IDENTIFIER_REJECTED
public static final MqttConnectReturnCode CONNECTION_REFUSED_SERVER_UNAVAILABLE
public static final MqttConnectReturnCode CONNECTION_REFUSED_BAD_USER_NAME_OR_PASSWORD
public static final MqttConnectReturnCode CONNECTION_REFUSED_NOT_AUTHORIZED
public static final MqttConnectReturnCode CONNECTION_REFUSED_UNSPECIFIED_ERROR
public static final MqttConnectReturnCode CONNECTION_REFUSED_MALFORMED_PACKET
public static final MqttConnectReturnCode CONNECTION_REFUSED_PROTOCOL_ERROR
public static final MqttConnectReturnCode CONNECTION_REFUSED_IMPLEMENTATION_SPECIFIC
public static final MqttConnectReturnCode CONNECTION_REFUSED_UNSUPPORTED_PROTOCOL_VERSION
public static final MqttConnectReturnCode CONNECTION_REFUSED_CLIENT_IDENTIFIER_NOT_VALID
public static final MqttConnectReturnCode CONNECTION_REFUSED_BAD_USERNAME_OR_PASSWORD
public static final MqttConnectReturnCode CONNECTION_REFUSED_NOT_AUTHORIZED_5
public static final MqttConnectReturnCode CONNECTION_REFUSED_SERVER_UNAVAILABLE_5
public static final MqttConnectReturnCode CONNECTION_REFUSED_SERVER_BUSY
public static final MqttConnectReturnCode CONNECTION_REFUSED_BANNED
public static final MqttConnectReturnCode CONNECTION_REFUSED_BAD_AUTHENTICATION_METHOD
public static final MqttConnectReturnCode CONNECTION_REFUSED_TOPIC_NAME_INVALID
public static final MqttConnectReturnCode CONNECTION_REFUSED_PACKET_TOO_LARGE
public static final MqttConnectReturnCode CONNECTION_REFUSED_QUOTA_EXCEEDED
public static final MqttConnectReturnCode CONNECTION_REFUSED_PAYLOAD_FORMAT_INVALID
public static final MqttConnectReturnCode CONNECTION_REFUSED_RETAIN_NOT_SUPPORTED
public static final MqttConnectReturnCode CONNECTION_REFUSED_QOS_NOT_SUPPORTED
public static final MqttConnectReturnCode CONNECTION_REFUSED_USE_ANOTHER_SERVER
public static final MqttConnectReturnCode CONNECTION_REFUSED_SERVER_MOVED
public static final MqttConnectReturnCode CONNECTION_REFUSED_CONNECTION_RATE_EXCEEDED
public static MqttConnectReturnCode[] values()
for (MqttConnectReturnCode c : MqttConnectReturnCode.values()) System.out.println(c);
public static MqttConnectReturnCode 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 MqttConnectReturnCode valueOf(byte b)
Copyright © 2008–2024 The Netty Project. All rights reserved.