org.apache.mina.statemachine.event
Enum IoFilterEvents

java.lang.Object
  extended by java.lang.Enum<IoFilterEvents>
      extended by 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)

Enum Constant Summary
ANY
           
CLOSE
           
EXCEPTION_CAUGHT
           
MESSAGE_RECEIVED
           
MESSAGE_SENT
           
SESSION_CLOSED
           
SESSION_CREATED
           
SESSION_IDLE
           
SESSION_OPENED
           
SET_TRAFFIC_MASK
           
WRITE
           
 
Method Summary
 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're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.