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