public enum MqttUnsubAckReasonCode extends Enum<MqttUnsubAckReasonCode> implements MqttReasonCode
Enum Constant and Description |
---|
IMPLEMENTATION_SPECIFIC_ERROR |
NO_SUBSCRIPTION_EXISTED |
NOT_AUTHORIZED |
PACKET_IDENTIFIER_IN_USE |
SUCCESS |
TOPIC_FILTER_INVALID |
UNSPECIFIED_ERROR |
Modifier and Type | Method and Description |
---|---|
byte |
value() |
static MqttUnsubAckReasonCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MqttUnsubAckReasonCode[] |
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 MqttUnsubAckReasonCode SUCCESS
public static final MqttUnsubAckReasonCode NO_SUBSCRIPTION_EXISTED
public static final MqttUnsubAckReasonCode UNSPECIFIED_ERROR
public static final MqttUnsubAckReasonCode IMPLEMENTATION_SPECIFIC_ERROR
public static final MqttUnsubAckReasonCode NOT_AUTHORIZED
public static final MqttUnsubAckReasonCode TOPIC_FILTER_INVALID
public static final MqttUnsubAckReasonCode PACKET_IDENTIFIER_IN_USE
public static MqttUnsubAckReasonCode[] values()
for (MqttUnsubAckReasonCode c : MqttUnsubAckReasonCode.values()) System.out.println(c);
public static MqttUnsubAckReasonCode 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
Copyright © 2022 Eclipse. All rights reserved.