public enum MqttQos extends Enum<MqttQos>
| Enum Constant and Description |
|---|
DELIVER_AT_LEAST_ONCE |
DELIVER_AT_MOST_ONCE |
DELIVER_EXACTLY_ONCE |
DELIVER_FAILURE |
DELIVER_UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static MqttQos |
valueOf(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 DELIVER_AT_MOST_ONCE
public static final MqttQos DELIVER_AT_LEAST_ONCE
public static final MqttQos DELIVER_EXACTLY_ONCE
public static final MqttQos DELIVER_FAILURE
public static final MqttQos DELIVER_UNKNOWN
public static MqttQos[] values()
for (MqttQos c : MqttQos.values()) System.out.println(c);
public static MqttQos 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 nullCopyright © 2019. All rights reserved.