| 1 |
Blocking Connection Adapter |
| 2 |
.. automodule:: pika.adapters.blocking_connection |
| 3 |
|
| 4 |
Be sure to check out examples in :doc:`/examples`. |
| 5 |
|
| 6 |
Interacting with Pika from another thread |
| 7 |
----------------------------------------- |
| 8 |
|
| 9 |
``pika.BlockingConnection`` abstracts its I/O loop from the application and thus exposes ``pika.BlockingConnection.add_callback_threadsafe()`` to allow interacting with Pika from another thread. |
| 10 |
|
| 11 |
Class Reference |
| 12 |
---------------- |
| 13 |
|
| 14 |
.. autoclass:: pika.adapters.blocking_connection.BlockingConnection |
| 15 |
:members: |
| 16 |
:inherited-members: |
| 17 |
|
| 18 |
.. autoclass:: pika.adapters.blocking_connection.BlockingChannel |
| 19 |
:members: |
| 20 |
:inherited-members: |