public enum AckMode extends Enum<AckMode>
| Enum Constant and Description |
|---|
AUTO_ACKNOWLEDGE |
CLIENT_ACKNOWLEDGE |
DUPS_OK_ACKNOWLEDGE |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
String |
value() |
static AckMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AckMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AckMode AUTO_ACKNOWLEDGE
public static final AckMode CLIENT_ACKNOWLEDGE
public static final AckMode DUPS_OK_ACKNOWLEDGE
public static AckMode[] values()
for (AckMode c : AckMode.values()) System.out.println(c);
public static AckMode 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 String value()
Copyright © 2022. All rights reserved.