Pool.Listener
Manages a collection of socket acceptors and an active listening socket from a transport.
Summary↑
init(args) | Inits the listener’s state, creating the pool of acceptor processes as well |
start_link(opts) | On successful start of the listener, send the |
Functions
Specs:
- init(list) :: {:ok, term}
Inits the listener’s state, creating the pool of acceptor processes as well.
Specs:
- start_link(list) :: {:ok, pid} | {:error, any}
On successful start of the listener, send the pid
and ref
to be tracked by Pool.Server
.