Module ranch_conns_sup

Data Types

conn_type()

conn_type() = worker | supervisor

shutdown()

shutdown() = brutal_kill | timeout()

Function Index

active_connections/1
init/7
start_link/6
start_protocol/2
system_code_change/4
system_continue/3
system_terminate/4

Function Details

active_connections/1

active_connections(SupPid::pid()) -> non_neg_integer()

init/7

init(Parent::pid(), Ref::ranch:ref(), ConnType::conn_type(), Shutdown::shutdown(), Transport::module(), AckTimeout::timeout(), Protocol::module()) -> no_return()

start_link/6

start_link(Ref::ranch:ref(), ConnType::conn_type(), Shutdown::shutdown(), Transport::module(), AckTimeout::timeout(), Protocol::module()) -> {ok, pid()}

start_protocol/2

start_protocol(SupPid::pid(), Socket::inet:socket()) -> ok

system_code_change/4

system_code_change(Misc, X2, X3, X4) -> any()

system_continue/3

system_continue(X1, X2, X3) -> any()

system_terminate/4

system_terminate(Reason::any(), X2::term(), X3::term(), X4::term()) -> no_return()


Generated by EDoc, Jan 19 2017, 05:14:00.