public interface StateMachineFramework
| Modifier and Type | Method and Description |
|---|---|
void |
handleExternalEvent(Event event,
Context context)
Based on the current FSM configuration this method execute a macrostep (with all the microsteps associated).
|
void |
initFSM(Context context)
Get a new FSM context and initialize it.
|
void |
registerListener(FSMListener listener) |
void |
setEngine(StateMachineEngine engine) |
void |
unRegisterListener(FSMListener listener) |
void initFSM(Context context) throws ConfigurationException
context - current FSM configurationConfigurationExceptionvoid handleExternalEvent(Event event, Context context)
StateMachineEngine.event - event to do the macrostepcontext - current FSM configvoid registerListener(FSMListener listener)
void unRegisterListener(FSMListener listener)
void setEngine(StateMachineEngine engine)
Copyright © 2015. All rights reserved.