Sonny Rajagopalan 04/05/2010. SFSM
A Simple Finite State Machine implementation in C++ using all the C++ technology used in C++ shops these days.
The state machine that is modeled is a simple machine that has the following states:
(a) Dormant state; (b) Wait for authentication state; (c) Connected state; and (d) Closed state.