A simple program to program command protocol has been included in Resuscitator. This is IMTDVCmdProtocol. The protocols basic features are: transport tcp/ip and a simple text format command value interface. See the System Settings to learn how to enable/configure connections.
Command |
Response |
getVersion |
getVersionResponse;version=Resuscitator x.x.x.x |
kill;program=<program> |
killResponse;program=<program>;status=ok|not killed |
start;program=<program> |
startResponse;program=<program>;status=ok|not started |
status;program=<program> |
statusResponse;program=<program>;status=not found|not running|to be started|running|unknown status |
watch;value=on|off|status |
watchResponse;status=on|off |
show;value=hide|normal|status |
showResponse;status=visible|hidden |
shutdown |
shutdownResponse;status=started|not started |
restart |
restartResponse;status=started|not started |