S - the type of stateE - the type of eventpublic class CompositeStateListener<S,E> extends AbstractCompositeListener<StateListener<S,E>> implements StateListener<S,E>
| Constructor and Description |
|---|
CompositeStateListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onEntry(StateContext<S,E> context)
Called when
State want to notify of its entry. |
void |
onExit(StateContext<S,E> context)
Called when
State want to notify of its exit. |
getListeners, register, setListeners, unregisterpublic void onEntry(StateContext<S,E> context)
StateListenerState want to notify of its entry.onEntry in interface StateListener<S,E>context - the state contextpublic void onExit(StateContext<S,E> context)
StateListenerState want to notify of its exit.onExit in interface StateListener<S,E>context - the state context