View Source esockd_connection_sup (esockd v5.9.3-rc.1)

Link to this section Summary

Link to this section Functions

Link to this function

code_change(OldVsn, State, Extra)

View Source
-spec count_connections(pid()) -> integer().
Link to this function

get_max_connections(Sup)

View Source
-spec get_max_connections(pid()) -> integer().
-spec get_shutdown_count(pid()) -> [{atom(), integer()}].
Link to this function

handle_call(Req, From, State)

View Source
Link to this function

handle_info(Info, State)

View Source
Link to this function

set_max_connections(Sup, MaxConns)

View Source
-spec set_max_connections(pid(), integer()) -> ok.
Link to this function

start_connection(Sup, Sock, UpgradeFuns)

View Source
Start connection.
-spec start_link([esockd:option()], esockd:mfargs()) -> {ok, pid()} | ignore | {error, term()}.
Start connection supervisor.
-spec stop(pid()) -> ok.
Link to this function

terminate(Reason, State)

View Source