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.
  • Enum Constant Details

    • 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
  • Field Details

    • value

      private final String value
  • Constructor Details

    • IoFilterEvents

      private IoFilterEvents(String value)
  • Method Details

    • values

      public static IoFilterEvents[] 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

      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
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<IoFilterEvents>