public enum MqttVersion extends Enum<MqttVersion>
MQTT clients
.Enum Constant and Description |
---|
MQTT_3_1_1
MQTT Version 3.1.1.
|
MQTT_5_0
MQTT version 5.0.
|
Modifier and Type | Method and Description |
---|---|
static MqttVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MqttVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MqttVersion MQTT_3_1_1
public static final MqttVersion MQTT_5_0
public static MqttVersion[] values()
for (MqttVersion c : MqttVersion.values()) System.out.println(c);
public static MqttVersion 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 null