Xirsys.Sockets.SockSupervisor (xturn_sockets v2.2.0)
View SourceDynamic supervisor for Connection processes.
Start this before Acceptor. Tests typically call start_link/0 once.
Summary
Functions
Returns a specification to start this module under a supervisor.
Starts one Connection child under supervisor.
Starts the named connection supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec start_connection( atom() | pid(), keyword() ) :: DynamicSupervisor.on_start_child()
Starts one Connection child under supervisor.
Parameters
supervisor- registered name or pid (defaultXirsys.Sockets.SockSupervisor)opts- forwarded toConnection.start_link/1
Starts the named connection supervisor.
Parameters
opts-:name(defaultXirsys.Sockets.SockSupervisor)