Annotation Type IoHandlerTransition
-
@Retention(RUNTIME) @Target(METHOD) public @interface IoHandlerTransitionAnnotation used on methods to indicate that the method handles a specific kind ofIoHandlerEventsevent when in a specific state. This should be used when creatingStateMachines for MINA'sIoHandlerinterface.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String[]in
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringnextIoHandlerEvents[]onintweight
-
-
-
-
on
IoHandlerEvents[] on
- Returns:
- Specifies the ids of one or more events handled by the annotated method. If not specified the handler method will be executed for any event.
- Default:
- {org.apache.mina.statemachine.event.IoHandlerEvents.ANY}
-
-
-
next
java.lang.String next
- Returns:
- The id of the state the
StateMachineshould move to next after executing the annotated method. If not specified theStateMachinewill remain in the same state.
- Default:
- "__self__"
-
-