public static enum SendMessageOptions.Reliability extends Enum<SendMessageOptions.Reliability>
| Enum Constant and Description |
|---|
BEST_EFFORTBest effort delivery, no acknowledgment. |
DEFAULTNo reliability preference. |
GUARANTEEDGuaranteed delivery with acknowledgment. |
UNDEFINEDReliability not specified. |
| Modifier and Type | Method and Description |
|---|---|
static SendMessageOptions.Reliability | valueOf(String name)Returns the enum constant of this type with the specified name. |
static SendMessageOptions.Reliability[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. |
public static final SendMessageOptions.Reliability BEST_EFFORT
public static final SendMessageOptions.Reliability DEFAULT
public static final SendMessageOptions.Reliability GUARANTEED
public static final SendMessageOptions.Reliability UNDEFINED
public static SendMessageOptions.Reliability 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 static SendMessageOptions.Reliability[] values()
for (SendMessageOptions.Reliability c : SendMessageOptions.Reliability.values()) System.out.println(c);