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 |
Types ↑
Functions
Specs:
- init(init_list) :: {:ok, term}
Inits the listener’s state, creating the pool of acceptor processes as well.
Specs:
- start_link(init_list) :: {:ok, pid} | {:error, any}
On successful start of the listener, send the pid
and ref to be tracked by Pool.Server.