public enum AckMode extends Enum<AckMode>
| Enum Constant and Description |
|---|
AUTO
Send ack-response automatically on each ack-request
skip exceptions during packet handling
|
AUTO_SUCCESS_ONLY
Send ack-response automatically on each ack-request
only after success packet handling
|
MANUAL
Turn off auto ack-response sending.
|
| Modifier and Type | Method and Description |
|---|---|
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
public static final AckMode AUTO_SUCCESS_ONLY
public static final AckMode MANUAL
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 nullCopyright © 2012–2016. All rights reserved.