ace v0.13.1 Ace.Governor View Source
A governor maintains servers ready to handle clients.
A governor process starts a server under the supervision of a server supervisor. It will then wait until the server has accepted a connection. Once it’s server has accepted a connection the governor will start a new server.
Link to this section Summary
Functions
Start a new governor, linked to the calling process
Link to this section Functions
Link to this function
start_link(listen_socket, server_supervisor)
View Source
start_link(:inet.socket, supervisor) :: {:ok, pid} when supervisor: pid
Start a new governor, linked to the calling process.