scxmlrun
scxmlrun is a MQTT-enabled SCXML processor written in C++ with the following features:
- it is built on top of QtSCXML
- it can be used as a command-line program that simply reads from and writes to local files.
- input/output events can also be received/transmitted over the network via the MQTT protocol.
- several JavaScript functions, including
SCXML.raise
andSCXML.send
for raising/sending events in the JSON format, are introduced for interfacing with the underlying SCXML/JavaScript engine.
Command-line tools
scxmlrun
This program is for running a single SCXML process.
The input and output of the process are both SCXML events in the JSON format.
See this manual for its usage.
scxmlrun-all
This is a helper tool for running a set of SCXML (and non-SCXML) processes in parallel that communicate with each other via MQTT.