Enum MqttConnectReturnCode
- All Implemented Interfaces:
Serializable, Comparable<MqttConnectReturnCode>
Return Code of
MqttConnAckMessage-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbytestatic MqttConnectReturnCodevalueOf(byte b) Returns the enum constant of this type with the specified name.static MqttConnectReturnCodeReturns 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.
-
Enum Constant Details
-
CONNECTION_ACCEPTED
-
CONNECTION_REFUSED_UNACCEPTABLE_PROTOCOL_VERSION
-
CONNECTION_REFUSED_IDENTIFIER_REJECTED
-
CONNECTION_REFUSED_SERVER_UNAVAILABLE
-
CONNECTION_REFUSED_BAD_USER_NAME_OR_PASSWORD
-
CONNECTION_REFUSED_NOT_AUTHORIZED
-
CONNECTION_REFUSED_UNSPECIFIED_ERROR
-
CONNECTION_REFUSED_MALFORMED_PACKET
-
CONNECTION_REFUSED_PROTOCOL_ERROR
-
CONNECTION_REFUSED_IMPLEMENTATION_SPECIFIC
-
CONNECTION_REFUSED_UNSUPPORTED_PROTOCOL_VERSION
-
CONNECTION_REFUSED_CLIENT_IDENTIFIER_NOT_VALID
-
CONNECTION_REFUSED_BAD_USERNAME_OR_PASSWORD
-
CONNECTION_REFUSED_NOT_AUTHORIZED_5
-
CONNECTION_REFUSED_SERVER_UNAVAILABLE_5
-
CONNECTION_REFUSED_SERVER_BUSY
-
CONNECTION_REFUSED_BANNED
-
CONNECTION_REFUSED_BAD_AUTHENTICATION_METHOD
-
CONNECTION_REFUSED_TOPIC_NAME_INVALID
-
CONNECTION_REFUSED_PACKET_TOO_LARGE
-
CONNECTION_REFUSED_QUOTA_EXCEEDED
-
CONNECTION_REFUSED_PAYLOAD_FORMAT_INVALID
-
CONNECTION_REFUSED_RETAIN_NOT_SUPPORTED
-
CONNECTION_REFUSED_QOS_NOT_SUPPORTED
-
CONNECTION_REFUSED_USE_ANOTHER_SERVER
-
CONNECTION_REFUSED_SERVER_MOVED
-
CONNECTION_REFUSED_CONNECTION_RATE_EXCEEDED
-
-
Field Details
-
VALUES
-
byteValue
private final byte byteValue
-
-
Constructor Details
-
MqttConnectReturnCode
private MqttConnectReturnCode(byte byteValue)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
byteValue
public byte byteValue() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
b- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-