| Enum Constant | Description |
|---|---|
AT_LEAST_ONCE |
RxMqttQoS 1 - At least Once Delivery: For this level of service, the MQTT client or the server
would attempt to deliver the message at-least once.
|
AT_MOST_ONCE |
RxMqttQoS 0 - At most once delivery: With this setting, messages are delivered according to the
best effort of the underlying network.
|
EXACTLY_ONCE |
RxMqttQoS 2 - Exactly once delivery: This is the highest level of Quality of Service.
|
FAILURE |
| Modifier and Type | Method | Description |
|---|---|---|
int |
value() |
|
static RxMqttQoS |
valueOf(int value) |
Returns the enum constant of this type with the specified name.
|
static RxMqttQoS |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static RxMqttQoS[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RxMqttQoS AT_MOST_ONCE
public static final RxMqttQoS AT_LEAST_ONCE
public static final RxMqttQoS EXACTLY_ONCE
public static final RxMqttQoS FAILURE
public static RxMqttQoS[] values()
for (RxMqttQoS c : RxMqttQoS.values()) System.out.println(c);
public static RxMqttQoS 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 RxMqttQoS valueOf(int value)
value - 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 null