|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evelopers.unimod.runtime.StrictHandler
Process event in the same thread it was received
Constructor Summary | |
StrictHandler()
|
Method Summary | |
void |
dispose()
Stops managed objects. |
void |
handle(Event e,
StateMachineContext context)
Calls of event providers or model engine client to ModelEngine#handle will be delegated to
this method.
|
void |
handleAndWait(Event event,
StateMachineContext context)
Calls of event providers or model engine client to ModelEngine#handle will be delegated to
this method.
|
void |
init(ModelEngine engine)
Initializes managed objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StrictHandler()
Method Detail |
public void init(ModelEngine engine)
LifeCycleManager
init
in interface LifeCycleManager
engine
- model engine that runs state machinepublic void handle(Event e, StateMachineContext context)
EventManager
ModelEngine#handle
will be delegated to
this method.
If event manager uses dispatch queue, returns immediately
handle
in interface EventManager
e
- context
- public void handleAndWait(Event event, StateMachineContext context)
EventManager
ModelEngine#handle
will be delegated to
this method.
If event manager uses dispatch queue, waits for end of event processing
handleAndWait
in interface EventManager
event
- context
- public void dispose()
LifeCycleManager
dispose
in interface LifeCycleManager
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |