View Source Baby.Connection.Registry (Baby v0.32.0)
A process registry for Baby.Connection
For maximum utility, name should be of the form:
{host, port}
where host is an internet address tuple and port is an integer
Summary
Functions
Return a list of all named connections
Check if a named connection is active
Send a message to all registered connections
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1
.
Send a message to a named connection
Functions
Return a list of all named connections
Check if a named connection is active
Send a message to all registered connections
Can include a list of names or pids to exclude
Returns a specification to start this module under a supervisor.
See Supervisor
.
Callback implementation for GenServer.init/1
.
Send a message to a named connection