42
44
%%-----------------------------------------------------------------
43
45
%% External interface functions
44
46
%%-----------------------------------------------------------------
45
48
%%-----------------------------------------------------------------
49
52
%%-----------------------------------------------------------------
51
54
supervisor:start_link(?MODULE, []).
62
start_child(Pid, Rec, Ref, Listen) ->
63
ChildSpec = [{Rec, Ref, Listen}], % Simple one-for-one
53
67
%%-----------------------------------------------------------------
55
69
%%-----------------------------------------------------------------