public static enum MqttReasonCodes.PubRec extends Enum<MqttReasonCodes.PubRec>
Enum Constant and Description |
---|
IMPLEMENTATION_SPECIFIC_ERROR |
NO_MATCHING_SUBSCRIBERS |
NOT_AUTHORIZED |
PACKET_IDENTIFIER_IN_USE |
PAYLOAD_FORMAT_INVALID |
QUOTA_EXCEEDED |
SUCCESS |
TOPIC_NAME_INVALID |
UNSPECIFIED_ERROR |
Modifier and Type | Method and Description |
---|---|
byte |
byteValue() |
static MqttReasonCodes.PubRec |
valueOf(byte b) |
static MqttReasonCodes.PubRec |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MqttReasonCodes.PubRec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MqttReasonCodes.PubRec SUCCESS
public static final MqttReasonCodes.PubRec NO_MATCHING_SUBSCRIBERS
public static final MqttReasonCodes.PubRec UNSPECIFIED_ERROR
public static final MqttReasonCodes.PubRec IMPLEMENTATION_SPECIFIC_ERROR
public static final MqttReasonCodes.PubRec NOT_AUTHORIZED
public static final MqttReasonCodes.PubRec TOPIC_NAME_INVALID
public static final MqttReasonCodes.PubRec PACKET_IDENTIFIER_IN_USE
public static final MqttReasonCodes.PubRec QUOTA_EXCEEDED
public static final MqttReasonCodes.PubRec PAYLOAD_FORMAT_INVALID
public static MqttReasonCodes.PubRec[] values()
for (MqttReasonCodes.PubRec c : MqttReasonCodes.PubRec.values()) System.out.println(c);
public static MqttReasonCodes.PubRec 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 byteValue()
public static MqttReasonCodes.PubRec valueOf(byte b)
b
- the number to decode.Copyright © 2008–2024 The Netty Project. All rights reserved.