kombu/docs/reference/kombu.connection.rst

64 lines
1.5 KiB
ReStructuredText
Raw Normal View History

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
----------
.. autoclass:: BrokerConnection
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::
The shortcut methods :meth:`BrokerConnection.Pool` and
:meth:`BrokerConnection.ChannelPool` is the recommended way
to instantiate these classes.
.. autoclass:: ConnectionPool
.. autoattribute:: LimitExceeded
.. automethod:: acquire
.. automethod:: release
.. autoclass:: ChannelPool
.. autoattribute:: LimitExceeded
.. automethod:: acquire
.. automethod:: release