public enum QOS extends Enum<QOS>
Enum Constant and Description |
---|
AT_LEAST_ONCE
Attempt to deliver the message at least once.
|
AT_MOST_ONCE
Attempt to deliver the message at most once.
|
Modifier and Type | Method and Description |
---|---|
static QOS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QOS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QOS AT_MOST_ONCE
public static final QOS AT_LEAST_ONCE
public static QOS[] values()
for (QOS c : QOS.values()) System.out.println(c);
public static QOS 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 © 2015 International Business Machines Corporation. All rights reserved.