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/01 16:31] fgm
Line 1: Line 1:
 ====== Upgrading apps using OSInet FSM ====== ====== Upgrading apps using OSInet FSM ======
 +
 +
 +===== 1.3 to 1.4 =====
 +
 +  * No application changes are necessary, BUT :
 +  * applications can now use external FSM descriptions in XML format. Building the FSM directly in code still works but it deprecated. It may go away at some later point. Constructors now typically look like just this:
 +<php>
 +  function __construct()
 +    {
 +    $this->load_fsm();
 +    parent::__construct();
 +    }
 +</php>
 +  * The XML file holding the FSM description is found by default if it is called <foo>.xml for class <foo>. Otherwise, use load_fsm($url);
 +
 +===== 1.2 to 1.3 ======
 +
 +  * No application changes are necessary.
 +  * New features:
 +    * enable/disable idle processing 
 +    * idle() shorthand method
 +    * additional operation modes:
 +      * fsm::EVENT_NORMAL works as previously
 +      * fsm::EVENT_QUEUE queues events for later use
 +      * fsm::EVENT_SINK discards events
 +    * enable/disable post-event actions
 +
 ===== 1.1 to 1.2 ====== ===== 1.1 to 1.2 ======
  
fsm/upgrading_fsm.txt · Last modified: 2020/11/23 17:23 by 127.0.0.1