public abstract class Automaton extends Object implements Runnable, Serializable
Modifier and Type | Field and Description |
---|---|
protected Class<?>[] |
argType
arguments class eventually associated to state transition
|
protected Object[] |
arguments
arguments value eventually associated to state transition
|
protected String |
state
method name representing state behaviour
|
Constructor and Description |
---|
Automaton() |
Modifier and Type | Method and Description |
---|---|
protected void |
become(String s) |
protected void |
become(String s,
Object[] args) |
abstract void |
boot()
boot state of automaton
|
void |
end()
shutdown state
|
void |
error()
error state
|
void |
idle()
idle state
|
void |
run() |
protected String state
protected Object[] arguments
protected Class<?>[] argType
protected void become(String s)
public abstract void boot()
public void idle()
public void end()
public void error()