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