public enum IoHandlerEvents extends java.lang.Enum<IoHandlerEvents>
IoHandler
events for use in IoHandlerTransition
annotations.枚举常量和说明 |
---|
ANY |
EXCEPTION_CAUGHT |
MESSAGE_RECEIVED |
MESSAGE_SENT |
SESSION_CLOSED |
SESSION_CREATED |
SESSION_IDLE |
SESSION_OPENED |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
toString() |
static IoHandlerEvents |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static IoHandlerEvents[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final IoHandlerEvents ANY
public static final IoHandlerEvents SESSION_CREATED
public static final IoHandlerEvents SESSION_OPENED
public static final IoHandlerEvents SESSION_CLOSED
public static final IoHandlerEvents SESSION_IDLE
public static final IoHandlerEvents MESSAGE_RECEIVED
public static final IoHandlerEvents MESSAGE_SENT
public static final IoHandlerEvents EXCEPTION_CAUGHT
public static IoHandlerEvents[] values()
for (IoHandlerEvents c : IoHandlerEvents.values()) System.out.println(c);
public static IoHandlerEvents valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public java.lang.String toString()
toString
在类中 java.lang.Enum<IoHandlerEvents>