Xirsys.Sockets.SockSupervisor (xturn_sockets v2.2.0)

View Source

Dynamic 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

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_connection(supervisor \\ __MODULE__, opts)

@spec start_connection(
  atom() | pid(),
  keyword()
) :: DynamicSupervisor.on_start_child()

Starts one Connection child under supervisor.

Parameters

start_link(opts \\ [])

Starts the named connection supervisor.

Parameters