Enum IoFilterEvents
- java.lang.Object
-
- java.lang.Enum<IoFilterEvents>
-
- org.apache.mina.statemachine.event.IoFilterEvents
-
- All Implemented Interfaces:
Serializable
,Comparable<IoFilterEvents>
public enum IoFilterEvents extends Enum<IoFilterEvents>
Defines all possible MINAIoFilter
events for use inIoFilterTransition
annotations.- Author:
- Apache MINA Project
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
The wildcard eventCLOSE
The Close eventEXCEPTION_CAUGHT
The Exception Caught eventINPUT_CLOSED
The InputClosed eventMESSAGE_RECEIVED
The Message Received eventMESSAGE_SENT
The Message Sent eventSESSION_CLOSED
The Session Closed eventSESSION_CREATED
The Session Created eventSESSION_IDLE
The Session Idle eventSESSION_OPENED
The Session Opened eventSET_TRAFFIC_MASK
The Set Traffic Mask eventWRITE
The Write event
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static IoFilterEvents
valueOf(String name)
Returns the enum constant of this type with the specified name.static IoFilterEvents[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final IoFilterEvents ANY
The wildcard event
-
SESSION_CREATED
public static final IoFilterEvents SESSION_CREATED
The Session Created event
-
SESSION_OPENED
public static final IoFilterEvents SESSION_OPENED
The Session Opened event
-
SESSION_CLOSED
public static final IoFilterEvents SESSION_CLOSED
The Session Closed event
-
SESSION_IDLE
public static final IoFilterEvents SESSION_IDLE
The Session Idle event
-
MESSAGE_RECEIVED
public static final IoFilterEvents MESSAGE_RECEIVED
The Message Received event
-
MESSAGE_SENT
public static final IoFilterEvents MESSAGE_SENT
The Message Sent event
-
EXCEPTION_CAUGHT
public static final IoFilterEvents EXCEPTION_CAUGHT
The Exception Caught event
-
CLOSE
public static final IoFilterEvents CLOSE
The Close event
-
WRITE
public static final IoFilterEvents WRITE
The Write event
-
INPUT_CLOSED
public static final IoFilterEvents INPUT_CLOSED
The InputClosed event
-
SET_TRAFFIC_MASK
public static final IoFilterEvents SET_TRAFFIC_MASK
The Set Traffic Mask event
-
-
Method Detail
-
values
public static IoFilterEvents[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IoFilterEvents c : IoFilterEvents.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IoFilterEvents valueOf(String name)
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
public String toString()
- Overrides:
toString
in classEnum<IoFilterEvents>
-
-