| Modifier and Type | Field and Description |
|---|---|
protected long |
timeout |
| Modifier | Constructor and Description |
|---|---|
protected |
State(FSM fsm,
String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
add(Transition t) |
protected void |
enter() |
FSM |
getFSM() |
String |
getName() |
protected void |
leave() |
void |
run() |
void |
setOnEnter(StateEventHandler handler) |
void |
setOnExit(StateEventHandler handler) |
State |
signal(String name)
Signals to leave this state over specified transition
|
protected void |
tick(long now) |
String |
toString() |
public void setOnEnter(StateEventHandler handler)
public void setOnExit(StateEventHandler handler)
protected void enter()
protected void leave()
protected void tick(long now)
public String getName()
public FSM getFSM()
protected void add(Transition t)
public State signal(String name) throws UnknownTransitionException
name - the name of the transition.UnknownTransitionExceptionCopyright © 2015 TeleStax, Inc.. All Rights Reserved.