Enum IoHandlerEvents

java.lang.Object
java.lang.Enum<IoHandlerEvents>
org.apache.mina.statemachine.event.IoHandlerEvents
All Implemented Interfaces:
Serializable, Comparable<IoHandlerEvents>

public enum IoHandlerEvents extends Enum<IoHandlerEvents>
Defines all possible MINA IoHandler events for use in IoHandlerTransition annotations.
  • Enum Constant Details

    • ANY

      public static final IoHandlerEvents ANY
      The wildcard event
    • SESSION_CREATED

      public static final IoHandlerEvents SESSION_CREATED
      The Session Created event
    • SESSION_OPENED

      public static final IoHandlerEvents SESSION_OPENED
      The Session Opened event
    • SESSION_CLOSED

      public static final IoHandlerEvents SESSION_CLOSED
      The Session Opened event
    • SESSION_IDLE

      public static final IoHandlerEvents SESSION_IDLE
      The Session Idle event
    • MESSAGE_RECEIVED

      public static final IoHandlerEvents MESSAGE_RECEIVED
      The Message Received event
    • MESSAGE_SENT

      public static final IoHandlerEvents MESSAGE_SENT
      The Message Sent event
    • INPUT_CLOSED

      public static final IoHandlerEvents INPUT_CLOSED
      The InputClosed event
    • EXCEPTION_CAUGHT

      public static final IoHandlerEvents EXCEPTION_CAUGHT
      The Exception Caught event
  • Field Details

    • value

      private final String value
  • Constructor Details

    • IoHandlerEvents

      private IoHandlerEvents(String value)
  • Method Details

    • values

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