public class FSMImpl extends Object implements FSM
Constructor and Description |
---|
FSMImpl(StateEngine se,
State startState)
Create an instance of an FSM using the StateEngine in a particular start state.
|
FSMImpl(StateEngine se,
State startState,
boolean debug) |
public FSMImpl(StateEngine se, State startState)
public FSMImpl(StateEngine se, State startState, boolean debug)
public void doIt(Input in)
Let S be the current state of the FSM. If there are guarded actions for S with input in, evaluate their guards successively until all have been evaluted, or one returns a non-DISABLED Result.
public void internalSetState(State nextState)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.