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