sync/fsm.yml2
author Edouard Tisserant <edouard@pep-project.org>
Sat, 26 Nov 2016 03:54:06 +0100
branchENGINE-133
changeset 1445 5d233bcdde76
parent 951 dec407deb10e
child 1513 e7f7e42385b5
permissions -rw-r--r--
ENGINE-133 added timeout in sync state machine, relying on callback sync message retrieve timeout - adapters need update
     1 // FSM Y language 1.0
     2 
     3 // Copyleft (c) 2016, p≡p foundation
     4 
     5 // Written by Volker Birk
     6 
     7 decl protocol @name;
     8 decl fsm @name;
     9 decl state @name (timeout=0);
    10 decl event @name, on is event;
    11 decl transition @target, go is transition;
    12 decl action @name, do is action;
    13 decl condition @name, if is condition;
    14 decl interface @name;
    15 decl tag @name (id);