Class AsyncFanOutConsumer¶
Defined in File rmq.py
Inheritance Relationships¶
Base Type¶
public rmq.AsyncConsumer(Class AsyncConsumer)
Class Documentation¶
- rmq.AsyncFanOutConsumer : public rmq.AsyncConsumer
Public Functions
- __init__(self, str host, int port, str vhost, str user, str password, str cert, str queue, int prefetch_count=1, Optional[Callable] on_message_cb=None, Optional[Callable] on_close_cb=None, Optional[logging.Logger] logger=None)¶
- on_channel_open(self, channel)¶
This method is invoked by pika when the channel has been opened. The channel object is passed in so we can make use of it. Since the channel is now open, we'll declare the exchange to use. :param pika.channel.Channel channel: The channel object
- on_exchange_declared(self, frame)¶
- on_queue_declared(self, queue_result)¶
- on_queue_bound(self, frame)¶