public enum RequestedQoS extends Enum<RequestedQoS>
NOTE: This is missing QoS 2, as this mode is not properly supported by the session.
Modifier and Type | Method and Description |
---|---|
int |
toInteger() |
static RequestedQoS |
valueOf(Integer qos) |
static RequestedQoS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestedQoS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestedQoS QOS_0
public static final RequestedQoS QOS_1
public static RequestedQoS[] values()
for (RequestedQoS c : RequestedQoS.values()) System.out.println(c);
public static RequestedQoS 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 toInteger()
public static RequestedQoS valueOf(Integer qos)
Copyright © 2018–2021 SmallRye. All rights reserved.