alice.util
Class Automaton

java.lang.Object
  extended byalice.util.Automaton
All Implemented Interfaces:
java.lang.Runnable, java.io.Serializable

public abstract class Automaton
extends java.lang.Object
implements java.lang.Runnable, java.io.Serializable

this abstract class is the base class for implementing automaton abstraction automaton state behaviour is expressed in public method and the become method allows to move computation from state to state method representing state must be public (to allow correct behaviour of reflection)

See Also:
Serialized Form

Constructor Summary
Automaton()
           
 
Method Summary
abstract  void boot()
          boot state of automaton
 void end()
          shutdown state
 void error()
          error state
 void idle()
          idle state
 void run()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Automaton

public Automaton()
Method Detail

boot

public abstract void boot()
boot state of automaton


run

public void run()
Specified by:
run in interface java.lang.Runnable

idle

public void idle()
idle state


end

public void end()
shutdown state


error

public void error()
error state



DEIS, Universita' di Bologna, Sede di Cesena