  @author   <  >
   2009  
%% @doc OSC Supervisor

-module(osc_sup).
-author('').

-behaviour(supervisor).

%% API
-export([start_link/0]).

%% Supervisor callbacks
-export([init/1]).

%% @doc Starts the supervisor.
    ( ) - > { ok , Pid } | ignore | { error , Reason }
start_link() ->
    supervisor:start_link({local, ?MODULE}, ?MODULE, []).

%% @doc Initializes the supervisor.
    ) - > { ok , { SupFlags , ChildSpecs } } | ignore | { error , Reason }
init([]) ->
    Server = {osc_server, {osc_server, start_link, []},
	      permanent, 2000, worker, [osc_server]},
    {ok, {{one_for_one, 3, 10}, [Server]}}.

 @doc OSC Supervisor
 API
 Supervisor callbacks
 @doc Starts the supervisor.
 @doc Initializes the supervisor.
  @author   <  >
   2009  

-module(osc_sup).
-author('').

-behaviour(supervisor).

-export([start_link/0]).

-export([init/1]).

    ( ) - > { ok , Pid } | ignore | { error , Reason }
start_link() ->
    supervisor:start_link({local, ?MODULE}, ?MODULE, []).

    ) - > { ok , { SupFlags , ChildSpecs } } | ignore | { error , Reason }
init([]) ->
    Server = {osc_server, {osc_server, start_link, []},
	      permanent, 2000, worker, [osc_server]},
    {ok, {{one_for_one, 3, 10}, [Server]}}.
