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