public enum IoEventType extends Enum<IoEventType>
Enum that represents the type of I/O events and requests.
Most users won't need to use this class. It is usually used by internal
components to store I/O events.| Enum Constant and Description |
|---|
CLOSE |
EXCEPTION_CAUGHT |
MESSAGE_RECEIVED |
MESSAGE_SENT |
SESSION_CLOSED |
SESSION_CREATED |
SESSION_IDLE |
SESSION_OPENED |
WRITE |
| Modifier and Type | Method and Description |
|---|---|
static IoEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IoEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IoEventType SESSION_CREATED
public static final IoEventType SESSION_OPENED
public static final IoEventType SESSION_CLOSED
public static final IoEventType MESSAGE_RECEIVED
public static final IoEventType MESSAGE_SENT
public static final IoEventType SESSION_IDLE
public static final IoEventType EXCEPTION_CAUGHT
public static final IoEventType WRITE
public static final IoEventType CLOSE
public static IoEventType[] values()
for (IoEventType c : IoEventType.values()) System.out.println(c);
public static IoEventType 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