org.apache.mina.statemachine.event
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 MINA IoFilter
events for use in IoFilterTransition
annotations.
- Version:
- $Rev: 671827 $, $Date: 2008-06-26 10:49:48 +0200 (Do, 26 Jun 2008) $
- Author:
- The Apache MINA Project (dev@mina.apache.org)
ANY
public static final IoFilterEvents ANY
SESSION_CREATED
public static final IoFilterEvents SESSION_CREATED
SESSION_OPENED
public static final IoFilterEvents SESSION_OPENED
SESSION_CLOSED
public static final IoFilterEvents SESSION_CLOSED
SESSION_IDLE
public static final IoFilterEvents SESSION_IDLE
MESSAGE_RECEIVED
public static final IoFilterEvents MESSAGE_RECEIVED
MESSAGE_SENT
public static final IoFilterEvents MESSAGE_SENT
EXCEPTION_CAUGHT
public static final IoFilterEvents EXCEPTION_CAUGHT
CLOSE
public static final IoFilterEvents CLOSE
WRITE
public static final IoFilterEvents WRITE
SET_TRAFFIC_MASK
public static final IoFilterEvents SET_TRAFFIC_MASK
values
public static final IoFilterEvents[] values()
- Returns an array containing the constants of this enum type, in
the order they're 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're 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 name
toString
public String toString()
- Overrides:
toString
in class Enum<IoFilterEvents>
Copyright © 2004-2010 Apache MINA Project. All Rights Reserved.