summaryrefslogtreecommitdiffstats
path: root/src/core/ephraim_conv_man.erl
blob: adfa24d732decde5aa9ebc8cc70f6f2c9efecb92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-module(ephraim_conv_man).
-behaviour(supervisor).
-export([start_link/3]).
-export([init/1]).

start_link(EventManager, Conn, Roster) ->
    {ok, Pid} = supervisor:start_link(?MODULE, []),
    ephraim_conv_handler:start(Pid, EventManager, Conn, Roster),
    {ok, Pid}.

init(_Args) ->
    {ok, {{one_for_one, 0, 1}, []}}.