diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-10-07 23:13:54 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-10-07 23:13:54 (GMT) |
commit | 36b5c7614cc896d043ddeebae1cdb4e8e94afe18 (patch) | |
tree | e14ac52189363b252aa8ea10fdd66efef069d665 /test/samples/uscxml/test-instant-messaging.scxml | |
parent | 567df9318fff6d1bb570191c33ea68cd6ef88bee (diff) | |
download | uscxml-36b5c7614cc896d043ddeebae1cdb4e8e94afe18.zip uscxml-36b5c7614cc896d043ddeebae1cdb4e8e94afe18.tar.gz uscxml-36b5c7614cc896d043ddeebae1cdb4e8e94afe18.tar.bz2 |
Reduced compile times
- new commandline argument handling
- compiles on windows again
Diffstat (limited to 'test/samples/uscxml/test-instant-messaging.scxml')
-rw-r--r-- | test/samples/uscxml/test-instant-messaging.scxml | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/test/samples/uscxml/test-instant-messaging.scxml b/test/samples/uscxml/test-instant-messaging.scxml index 6ca39d4..588b2b7 100644 --- a/test/samples/uscxml/test-instant-messaging.scxml +++ b/test/samples/uscxml/test-instant-messaging.scxml @@ -19,18 +19,25 @@ <param name="username" expr="'uscxml@localhost'" /> <param name="password" expr="'password'" /> <param name="protocol" expr="'prpl-jabber'" /> + <finalize> + <script>print("-----------------\n"); dump(_event);</script> + </finalize> </invoke> <state id="dump"> <transition event="dump" target="dump"> <send event="dump" delay="1000ms" /> <script>//dump(_invokers['im']);</script> - <send target="#_im" event="im.send"> - <param name="receiver" expr="'sradomski@localhost'" /> - <param name="data" expr="someBinaryData" /> - <content>Hey There!</content> - </send> </transition> </state> + + <transition event="im.buddy.status.changed" cond="_event.data.name === 'sradomski@localhost'"> + <send target="#_im" event="im.send"> + <param name="receiver" expr="'sradomski@localhost'" /> + <param name="data" expr="someBinaryData" /> + <content>Hey There!</content> + </send> + </transition> + </state> </scxml>
\ No newline at end of file |