diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-09-23 16:30:04 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-09-23 16:30:04 (GMT) |
commit | be3c180fec71866a91b5f9297708d581bc1d6435 (patch) | |
tree | 830acee295b8456d1e629a0db6c3734f629074a3 /test/samples/uscxml | |
parent | 8dde1311719b29c63efb379566916cb1aa9a7cd7 (diff) | |
download | uscxml-be3c180fec71866a91b5f9297708d581bc1d6435.zip uscxml-be3c180fec71866a91b5f9297708d581bc1d6435.tar.gz uscxml-be3c180fec71866a91b5f9297708d581bc1d6435.tar.bz2 |
Added instant messaging invoker
Diffstat (limited to 'test/samples/uscxml')
-rw-r--r-- | test/samples/uscxml/test-instant-messaging.scxml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/samples/uscxml/test-instant-messaging.scxml b/test/samples/uscxml/test-instant-messaging.scxml new file mode 100644 index 0000000..569ec59 --- /dev/null +++ b/test/samples/uscxml/test-instant-messaging.scxml @@ -0,0 +1,20 @@ +<scxml datamodel="ecmascript"> + <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/dump.js" /> + <state id="idle"> + <onentry> + <send event="dump" delay="100ms" /> + </onentry> + + <invoke type="instant-messaging" id="im"> + <param name="username" expr="'uscxml@localhost'" /> + <param name="password" expr="'password'" /> + <param name="protocol" expr="'prpl-jabber'" /> + </invoke> + + <state id="dump"> + <transition event="dump" target="dump"> + <script>dump(_invokers['im']);</script> + </transition> + </state> + </state> +</scxml>
\ No newline at end of file |