summaryrefslogtreecommitdiff
path: root/src/rose.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rose.erl')
-rw-r--r--src/rose.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rose.erl b/src/rose.erl
index e267b6d..18b661a 100644
--- a/src/rose.erl
+++ b/src/rose.erl
@@ -22,6 +22,8 @@ dispatch({invoke, #'Invoke'{invokeId = Id, opcode = Op, argument = Data}}) ->
counter:set(Id),
case Op of
?EVENT ->
+ {ok, Event} = event:decode(Data),
+ io:format("Event: ~p~n", [Event]),
ok;
?ESCAPE ->
escape:privateData(escape:decode(Data));