Make processor use a service definition and handler to determine types


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666376 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/alterl/src/test_handler.erl b/lib/alterl/src/test_handler.erl
new file mode 100644
index 0000000..a0aa2a5
--- /dev/null
+++ b/lib/alterl/src/test_handler.erl
@@ -0,0 +1,7 @@
+-module(test_handler).
+
+-export([handle_function/2]).
+
+handle_function(add, Params = {A, B}) ->
+    io:format("Got params: ~p~n", [Params]),
+    {reply, A + B}.