Enum IoHandlerEvents
- All Implemented Interfaces:
Serializable, Comparable<IoHandlerEvents>
Defines all possible MINA
IoHandler events for use in IoHandlerTransition
annotations.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe wildcard eventThe Exception Caught eventThe InputClosed eventThe Message Received eventThe Message Sent eventThe Session Opened eventThe Session Created eventThe Session Idle eventThe Session Opened event -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoString()static IoHandlerEventsReturns the enum constant of this type with the specified name.static IoHandlerEvents[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ANY
The wildcard event -
SESSION_CREATED
The Session Created event -
SESSION_OPENED
The Session Opened event -
SESSION_CLOSED
The Session Opened event -
SESSION_IDLE
The Session Idle event -
MESSAGE_RECEIVED
The Message Received event -
MESSAGE_SENT
The Message Sent event -
INPUT_CLOSED
The InputClosed event -
EXCEPTION_CAUGHT
The Exception Caught event
-
-
Field Details
-
value
-
-
Constructor Details
-
IoHandlerEvents
-
-
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
-
toString
- Overrides:
toStringin classEnum<IoHandlerEvents>
-