quicer_listener_sup (quicer v0.4.3)

View Source

Summary

Functions

listener(Name)

-spec listener(atom() | {atom(), integer() | string()}) -> {ok, pid()} | {error, not_found}.

listeners()

-spec listeners() -> [{{atom(), integer() | string()}, pid()}].

start_link()

-spec start_link() ->
                    {ok, Pid :: pid()} |
                    {error, {already_started, Pid :: pid()}} |
                    {error, {shutdown, term()}} |
                    {error, term()} |
                    ignore.

Starts the supervisor

start_listener(AppName, Port, Options)

stop_listener(AppName)