spotter v0.4.1 Spotter.AMQP.Connection.Channel

AMQP channel server.

Whenever connection gets rest channel reinitializes itself.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Returns current configuration of a channel

Run callback inside Channel GenServer and return result. Callback function should accept connection as first argument

Link to this section Functions

Link to this function child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function get_config(pid)

Returns current configuration of a channel.

Link to this function run(pid, callback)

Run callback inside Channel GenServer and return result. Callback function should accept connection as first argument.

Link to this function start_link(opts, name)