Class that implements a FSM (Finite State Machine)
Posted on 2003-11-11
Could anybody recommend a Java class that could be employed to implement a FSM?
The solution that is being developed will access some machine peripherals and needs to send them commands depending on their current responses, in order to make them execute some tasks.
If the solution was based on C++, there would be a table containing informations such as the possible states, the methods that could be executed for each state depending on the last response, the next states, etc.
I'm new at Java programming and don't have any idea on how to program FSMs using this language, but was told to find any ready to use FSM class to help me.