public static interface ChannelFsm.TransitionListener
| Modifier and Type | Method and Description |
|---|---|
void |
onStateTransition(State from,
State to,
Event via)
A state transition has occurred.
|
void onStateTransition(State from, State to, Event via)
Transitions may be internal, i.e. the from and to state are the same.
Listener notification is implemented as a TransitionAction, so take care not to
block in this callback as it will block the state machine evaluation as well.