public enum MqttQoS extends Enum<MqttQoS>
Enum Constant and Description |
---|
AT_LEAST_ONCE |
AT_MOST_ONCE |
EXACTLY_ONCE |
FAILURE |
Modifier and Type | Method and Description |
---|---|
int |
value() |
static MqttQoS |
valueOf(int value) |
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 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(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 int value()
public static MqttQoS valueOf(int value)
Copyright © 2008–2017 The Netty Project. All rights reserved.