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
vb@563
     1
// FSM Y language 1.0
vb@563
     2
vb@563
     3
// Copyleft (c) 2016, p≡p foundation
vb@563
     4
vb@563
     5
// Written by Volker Birk
vb@563
     6
vb@563
     7
decl protocol @name;
vb@563
     8
decl fsm @name;
edouard@1445
     9
decl state @name (timeout=0);
vb@563
    10
decl event @name, on is event;
vb@563
    11
decl transition @target, go is transition;
vb@563
    12
decl action @name, do is action;
vb@951
    13
decl condition @name, if is condition;
Edouard@613
    14
decl interface @name;
vb@711
    15
decl tag @name (id);