public static enum OobEvent.OobEventType extends Enum<OobEvent.OobEventType>
OobEvent
types.Enum Constant and Description |
---|
BIND
Denotes connection binding.
|
CLOSING_EOS
Denotes connection closure by end-of-stream.
|
CLOSING_ERROR
Denotes connection closure by error.
|
CLOSING_USER
Denotes connection closure by user request.
|
USER
Denotes a user-defined event.
|
Modifier and Type | Method and Description |
---|---|
static OobEvent.OobEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OobEvent.OobEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OobEvent.OobEventType USER
public static final OobEvent.OobEventType BIND
public static final OobEvent.OobEventType CLOSING_EOS
public static final OobEvent.OobEventType CLOSING_USER
public static final OobEvent.OobEventType CLOSING_ERROR
public static OobEvent.OobEventType[] values()
for (OobEvent.OobEventType c : OobEvent.OobEventType.values()) System.out.println(c);
public static OobEvent.OobEventType 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 null