@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface IoHandlerTransition
IoHandlerEvents
event when in a specific state. This should
be used when creating StateMachine
s for MINA's IoHandler
interface.限定符和类型 | 必需的元素和说明 |
---|---|
java.lang.String[] |
in |
限定符和类型 | 可选元素和说明 |
---|---|
java.lang.String |
next |
IoHandlerEvents[] |
on |
int |
weight |
public abstract java.lang.String[] in
public abstract IoHandlerEvents[] on
public abstract java.lang.String next
StateMachine
should move to next after
executing the annotated method. If not specified the StateMachine
will remain in the same state.public abstract int weight