Enum IoEventType
- All Implemented Interfaces:
Serializable, Comparable<IoEventType>
An
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 Summary
Enum ConstantsEnum ConstantDescriptionA close has occuredA generic event has been generatedAn exception has been caughtThe Input part of the socket has been closedA message has been receivedA message has been sentThe session has been closedThe session has been createdThe session is idleThe session has been openedA write has pccired -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IoEventTypeReturns 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.
-
Enum Constant Details
-
SESSION_CREATED
The session has been created -
SESSION_OPENED
The session has been opened -
SESSION_CLOSED
The session has been closed -
MESSAGE_RECEIVED
A message has been received -
MESSAGE_SENT
A message has been sent -
SESSION_IDLE
The session is idle -
EXCEPTION_CAUGHT
An exception has been caught -
WRITE
A write has pccired -
CLOSE
A close has occured -
INPUT_CLOSED
The Input part of the socket has been closed -
EVENT
A generic event has been generated
-
-
Constructor Details
-
IoEventType
private IoEventType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-