summaryrefslogtreecommitdiff
path: root/docs/reference/kombu.connection.rst
blob: 63c6b28244d1eb16c8f11eef83e5ef64442e3707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63


.. currentmodule:: kombu.connection

.. automodule:: kombu.connection

    .. contents::
        :local:

    Connection
    ----------

    .. autoclass:: BrokerConnection

        .. 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


    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