|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.squirrelframework.foundation.component.impl.AbstractSubject
org.squirrelframework.foundation.fsm.impl.AbstractStateMachine<UntypedStateMachine,Object,Object,Object>
org.squirrelframework.foundation.fsm.impl.AbstractUntypedStateMachine
public abstract class AbstractUntypedStateMachine
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.squirrelframework.foundation.fsm.impl.AbstractStateMachine |
|---|
AbstractStateMachine.AbstractStateMachineEvent<T extends StateMachine<T,S,E,C>,S,E,C>, AbstractStateMachine.AbstractTransitionEvent<T extends StateMachine<T,S,E,C>,S,E,C>, AbstractStateMachine.StartEventImpl<T extends StateMachine<T,S,E,C>,S,E,C>, AbstractStateMachine.StateMachineExceptionEventImpl<T extends StateMachine<T,S,E,C>,S,E,C>, AbstractStateMachine.TerminateEventImpl<T extends StateMachine<T,S,E,C>,S,E,C>, AbstractStateMachine.TransitionBeginEventImpl<T extends StateMachine<T,S,E,C>,S,E,C>, AbstractStateMachine.TransitionCompleteEventImpl<T extends StateMachine<T,S,E,C>,S,E,C>, AbstractStateMachine.TransitionDeclinedEventImpl<T extends StateMachine<T,S,E,C>,S,E,C>, AbstractStateMachine.TransitionEndEventImpl<T extends StateMachine<T,S,E,C>,S,E,C>, AbstractStateMachine.TransitionExceptionEventImpl<T extends StateMachine<T,S,E,C>,S,E,C> |
| Field Summary |
|---|
| Fields inherited from class org.squirrelframework.foundation.fsm.impl.AbstractStateMachine |
|---|
readLock, rwLock, writeLock |
| Constructor Summary | |
|---|---|
AbstractUntypedStateMachine()
|
|
| Method Summary | |
|---|---|
void |
fire(Object event,
Object context)
Fires the specified event |
void |
fireImmediate(Object event,
Object context)
Fires event with context immediately, if current state machine is busy, the next processing event is this event. |
void |
start(Object context)
Start state machine under external context |
void |
terminate(Object context)
Terminate state machine under external context |
Object |
test(Object event,
Object context)
Test transition result under circumstance |
| Methods inherited from class org.squirrelframework.foundation.component.impl.AbstractSubject |
|---|
addListener, addListener, fireEvent, getListenerSize, isNotifiable, removeAllListeners, removeListener, removeListener, removeListener, removeListener, setNotifiable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.squirrelframework.foundation.fsm.Visitable |
|---|
accept |
| Methods inherited from interface org.squirrelframework.foundation.component.Observable |
|---|
addListener, addListener, fireEvent, getListenerSize, isNotifiable, removeAllListeners, removeListener, removeListener, removeListener, removeListener, setNotifiable |
| Constructor Detail |
|---|
public AbstractUntypedStateMachine()
| Method Detail |
|---|
public void fire(Object event,
Object context)
StateMachine
fire in interface StateMachine<UntypedStateMachine,Object,Object,Object>fire in class AbstractStateMachine<UntypedStateMachine,Object,Object,Object>event - the eventcontext - external context
public void fireImmediate(Object event,
Object context)
StateMachine
fireImmediate in interface StateMachine<UntypedStateMachine,Object,Object,Object>fireImmediate in class AbstractStateMachine<UntypedStateMachine,Object,Object,Object>event - the eventcontext - external context
public Object test(Object event,
Object context)
StateMachine
test in interface StateMachine<UntypedStateMachine,Object,Object,Object>test in class AbstractStateMachine<UntypedStateMachine,Object,Object,Object>event - test eventcontext - text context
public void start(Object context)
StateMachine
start in interface StateMachine<UntypedStateMachine,Object,Object,Object>start in class AbstractStateMachine<UntypedStateMachine,Object,Object,Object>context - external contextpublic void terminate(Object context)
StateMachine
terminate in interface StateMachine<UntypedStateMachine,Object,Object,Object>terminate in class AbstractStateMachine<UntypedStateMachine,Object,Object,Object>context - external context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||