2010-07-23 12:43:33 +00:00
|
|
|
|
2010-10-27 07:17:37 +00:00
|
|
|
|
2010-07-23 12:43:33 +00:00
|
|
|
.. currentmodule:: kombu.connection
|
|
|
|
|
|
|
|
.. automodule:: kombu.connection
|
2010-10-27 07:17:37 +00:00
|
|
|
|
|
|
|
.. contents::
|
|
|
|
:local:
|
|
|
|
|
|
|
|
Connection
|
|
|
|
----------
|
|
|
|
|
2012-06-24 15:32:17 +00:00
|
|
|
.. autoclass:: Connection
|
2010-10-27 07:17:37 +00:00
|
|
|
|
2010-10-27 11:57:23 +00:00
|
|
|
.. admonition:: Attributes
|
|
|
|
|
|
|
|
.. autoattribute:: connection_errors
|
|
|
|
.. autoattribute:: channel_errors
|
|
|
|
.. autoattribute:: transport
|
|
|
|
.. autoattribute:: host
|
|
|
|
.. autoattribute:: connection
|
|
|
|
|
|
|
|
.. admonition:: Methods
|
|
|
|
|
|
|
|
.. automethod:: connect
|
|
|
|
.. automethod:: channel
|
|
|
|
.. automethod:: drain_events
|
|
|
|
.. automethod:: release
|
|
|
|
.. automethod:: ensure_connection
|
|
|
|
.. automethod:: ensure
|
|
|
|
.. automethod:: create_transport
|
|
|
|
.. automethod:: get_transport_cls
|
|
|
|
.. automethod:: clone
|
|
|
|
.. automethod:: info
|
|
|
|
|
|
|
|
.. automethod:: Pool
|
|
|
|
.. automethod:: ChannelPool
|
|
|
|
.. automethod:: SimpleQueue
|
|
|
|
.. automethod:: SimpleBuffer
|
2010-10-27 07:17:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
Pools
|
|
|
|
-----
|
|
|
|
|
|
|
|
.. seealso::
|
|
|
|
|
2012-06-24 15:32:17 +00:00
|
|
|
The shortcut methods :meth:`Connection.Pool` and
|
|
|
|
:meth:`Connection.ChannelPool` is the recommended way
|
2010-10-27 07:17:37 +00:00
|
|
|
to instantiate these classes.
|
|
|
|
|
|
|
|
.. autoclass:: ConnectionPool
|
|
|
|
|
|
|
|
.. autoattribute:: LimitExceeded
|
|
|
|
|
|
|
|
.. automethod:: acquire
|
|
|
|
.. automethod:: release
|
|
|
|
|
|
|
|
.. autoclass:: ChannelPool
|
|
|
|
|
|
|
|
.. autoattribute:: LimitExceeded
|
|
|
|
|
|
|
|
.. automethod:: acquire
|
|
|
|
.. automethod:: release
|