ace v0.6.3 Ace.TCP.Governor

The governor acts to throttle the creation of servers.

A governor process starts a server under the supervision of a server supervisor. It will then wait untill the server has accepted a connection. Once it’s server has accepted a connection the governor will start a new server.

Summary

Functions

Start a new governor, linked to the calling process

Functions

start_link(listen_socket, server_supervisor)

Start a new governor, linked to the calling process.