summaryrefslogtreecommitdiffstats
path: root/ephraim_conv.erl
blob: c6243faae5b2897d7a5e1ae1c8a5aa07ab4ddbd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-module(ephraim_conv).
-compile([debug_info, export_all]).

-record(conv_state, {
	  jid :: binary()
	 }).

init(JID) ->
    loop(#conv_state{jid=JID}).

loop(State) ->
    receive
        stop ->
	    ok;
	Msg ->
	    io:format("ephraim_conv: ~p~n", [Msg]),
	    loop(State)
    end.