public enum MqttQosLevel extends java.lang.Enum<MqttQosLevel>
| Enum Constant and Description |
|---|
AT_LEAST_ONCE |
AT_MOST_ONCE |
EXACTLY_ONCE |
FAILURE |
| Modifier and Type | Method and Description |
|---|---|
static MqttQosLevel |
of(int value) |
static MqttQosLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MqttQosLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MqttQosLevel AT_MOST_ONCE
public static final MqttQosLevel AT_LEAST_ONCE
public static final MqttQosLevel EXACTLY_ONCE
public static final MqttQosLevel FAILURE
public static MqttQosLevel[] values()
for (MqttQosLevel c : MqttQosLevel.values()) System.out.println(c);
public static MqttQosLevel 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 static MqttQosLevel of(int value)