Sippet v0.5.2 Sippet.Transports.UDP.Pool
This module defines the UDP senders’ pool.
The objective is to block the caller case all worker processes are busy in order to keep the system responsive.
Summary
Functions
Checks in a worker back to the pool, becoming ready to send another message
Checks out a worker from the pool to send the message
Returns a poolboy
child specification for a parent supervisor
Functions
Checks in a worker back to the pool, becoming ready to send another message.
This operation is performed by Sippet.Transports.UDP.Sender.handle_cast/2
.
While the calling process is responsible to check out a worker process, the worker process will be responsible to check in itself once it becomes ready for another message.
Checks out a worker from the pool to send the message.
This operation is performed by Sippet.Transports.UDP.Plug.send_message/4
.
While the calling process is responsible to check out a worker process, the worker process will be responsible to check in itself once it becomes ready for another message.
Returns a poolboy
child specification for a parent supervisor.