| Enum Constant and Description |
|---|
AT_LEAST_ONCE |
AT_MOST_ONCE |
EXACTLY_ONCE |
FAILURE |
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static MqttQoS |
valueOf(int value) |
static MqttQoS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MqttQoS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MqttQoS AT_MOST_ONCE
public static final MqttQoS AT_LEAST_ONCE
public static final MqttQoS EXACTLY_ONCE
public static final MqttQoS FAILURE
public static MqttQoS[] values()
for (MqttQoS c : MqttQoS.values()) System.out.println(c);
public static MqttQoS valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int value()
public static MqttQoS valueOf(int value)