User Tools

Site Tools


fsm:upgrading_fsm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
fsm:upgrading_fsm [2007/04/28 19:43] – created fgmfsm:upgrading_fsm [2007/05/08 21:50] fgm
Line 1: Line 1:
-====== Upgrading apps using OSInet FSM ====== 
-===== 1.1 to 1.2 ====== 
  
-  * The new post-event action feature allows shorter automata by event chaining 
-  * The new default "idle" event allows automatic progress in the absence of explicit events. For instance, whereas a FTP client using FSM 1.1 will typically send events to connect, get and disconnect in PHP, the same can be done to a large extend using just the transitions table with FSM 1.2 using this mechanism to fire events in succession. 
-  * Because of this change, fsm::apply_event() now returns a fsm_result instead of directly returning the next state. Code needing to know the next state can: 
-    * either use apply_simple_event, which is equivalent to the previous incarnation of apply_event 
-    * use the fsm_state field from the value returned by fsm::apply_event 
-     
fsm/upgrading_fsm.txt · Last modified: 2020/11/23 17:23 by 127.0.0.1