|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface IoHandlerTransition
Annotation used on methods to indicate that the method handles a specific
kind of IoHandlerEvents event when in a specific state. This should
be used when creating StateMachines for MINA's IoHandler
interface.
| Required Element Summary | |
|---|---|
String[] |
in
The id of the state or states that this handler applies to. |
| Optional Element Summary | |
|---|---|
String |
next
The id of the state the StateMachine should move to next after
executing the annotated method. |
IoHandlerEvents[] |
on
Specifies the ids of one or more events handled by the annotated method. |
int |
weight
The weight used to order handler annotations which match the same event in the same state. |
| Element Detail |
|---|
public abstract String[] in
public abstract IoHandlerEvents[] on
public abstract 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||