public enum MqttCommonReasonCode extends java.lang.Enum<MqttCommonReasonCode> implements Mqtt5ReasonCode
Modifier and Type | Method and Description |
---|---|
static boolean |
allErrors(@NotNull ImmutableList<? extends Mqtt5ReasonCode> reasonCodes) |
int |
getCode() |
static MqttCommonReasonCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MqttCommonReasonCode[] |
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
canBeSentByClient, canBeSentByServer, canBeSetByUser, isError
public static final MqttCommonReasonCode SUCCESS
public static final MqttCommonReasonCode NO_MATCHING_SUBSCRIBERS
public static final MqttCommonReasonCode UNSPECIFIED_ERROR
public static final MqttCommonReasonCode MALFORMED_PACKET
public static final MqttCommonReasonCode PROTOCOL_ERROR
public static final MqttCommonReasonCode IMPLEMENTATION_SPECIFIC_ERROR
public static final MqttCommonReasonCode NOT_AUTHORIZED
public static final MqttCommonReasonCode SERVER_BUSY
public static final MqttCommonReasonCode BAD_AUTHENTICATION_METHOD
public static final MqttCommonReasonCode TOPIC_FILTER_INVALID
public static final MqttCommonReasonCode TOPIC_NAME_INVALID
public static final MqttCommonReasonCode PACKET_IDENTIFIER_IN_USE
public static final MqttCommonReasonCode PACKET_IDENTIFIER_NOT_FOUND
public static final MqttCommonReasonCode PACKET_TOO_LARGE
public static final MqttCommonReasonCode QUOTA_EXCEEDED
public static final MqttCommonReasonCode PAYLOAD_FORMAT_INVALID
public static final MqttCommonReasonCode RETAIN_NOT_SUPPORTED
public static final MqttCommonReasonCode QOS_NOT_SUPPORTED
public static final MqttCommonReasonCode USE_ANOTHER_SERVER
public static final MqttCommonReasonCode SERVER_MOVED
public static final MqttCommonReasonCode SHARED_SUBSCRIPTIONS_NOT_SUPPORTED
public static final MqttCommonReasonCode CONNECTION_RATE_EXCEEDED
public static final MqttCommonReasonCode SUBSCRIPTION_IDENTIFIERS_NOT_SUPPORTED
public static final MqttCommonReasonCode WILDCARD_SUBSCRIPTIONS_NOT_SUPPORTED
public static MqttCommonReasonCode[] values()
for (MqttCommonReasonCode c : MqttCommonReasonCode.values()) System.out.println(c);
public static MqttCommonReasonCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCode()
getCode
in interface Mqtt5ReasonCode
public static boolean allErrors(@NotNull @NotNull ImmutableList<? extends Mqtt5ReasonCode> reasonCodes)