public enum QoS extends java.lang.Enum<QoS>
| Enum Constant and Description |
|---|
AT_LEAST_ONCE |
AT_MOST_ONCE |
EXACTLY_ONCE |
| Modifier and Type | Method and Description |
|---|---|
static QoS |
valueOf(java.lang.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 final QoS EXACTLY_ONCE
public static QoS[] values()
for (QoS c : QoS.values()) System.out.println(c);
public static QoS 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 nullCopyright © 2013 FuseSource, Corp.. All Rights Reserved.