Enum IoFilterEvents
- java.lang.Object
-
- java.lang.Enum<IoFilterEvents>
-
- org.apache.mina.statemachine.event.IoFilterEvents
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IoFilterEvents>
public enum IoFilterEvents extends java.lang.Enum<IoFilterEvents>
Defines all possible MINAIoFilterevents for use inIoFilterTransitionannotations.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANYThe wildcard eventCLOSEThe Close eventEXCEPTION_CAUGHTThe Exception Caught eventINPUT_CLOSEDThe InputClosed eventMESSAGE_RECEIVEDThe Message Received eventMESSAGE_SENTThe Message Sent eventSESSION_CLOSEDThe Session Closed eventSESSION_CREATEDThe Session Created eventSESSION_IDLEThe Session Idle eventSESSION_OPENEDThe Session Opened eventSET_TRAFFIC_MASKThe Set Traffic Mask eventWRITEThe Write event
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringvalue
-
Constructor Summary
Constructors Modifier Constructor Description privateIoFilterEvents(java.lang.String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()static IoFilterEventsvalueOf(java.lang.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(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<IoFilterEvents>
-
-