| 1 |
####################### |
| 2 |
Module ``proton.utils`` |
| 3 |
####################### |
| 4 |
|
| 5 |
.. currentmodule:: proton.utils |
| 6 |
|
| 7 |
Module Summary |
| 8 |
############## |
| 9 |
|
| 10 |
| |
| 11 |
|
| 12 |
+------------------------------+-----------------------------------------------------------------------+ |
| 13 |
| :class:`BlockingConnection` | A synchronous style connection wrapper. | |
| 14 |
+------------------------------+-----------------------------------------------------------------------+ |
| 15 |
| :class:`BlockingSender` | A synchronous sender wrapper. | |
| 16 |
+------------------------------+-----------------------------------------------------------------------+ |
| 17 |
| :class:`BlockingReceiver` | A synchronous receiver wrapper. | |
| 18 |
+------------------------------+-----------------------------------------------------------------------+ |
| 19 |
| :class:`SyncRequestResponse` | Implementation of the synchronous request-response (aka RPC) pattern. | |
| 20 |
+------------------------------+-----------------------------------------------------------------------+ |
| 21 |
|
| 22 |
| |
| 23 |
|
| 24 |
Exceptions |
| 25 |
========== |
| 26 |
|
| 27 |
| |
| 28 |
|
| 29 |
+---------------------------+---------------------------------------------------------------------------------------------------+ |
| 30 |
| :class:`SendException` | Exception used to indicate an exceptional state/condition on a send request. | |
| 31 |
+---------------------------+---------------------------------------------------------------------------------------------------+ |
| 32 |
| :class:`LinkDetached` | The exception raised when the remote peer unexpectedly closes a link in a blocking context, or | |
| 33 |
| | an unexpected link error occurs. | |
| 34 |
+---------------------------+---------------------------------------------------------------------------------------------------+ |
| 35 |
| :class:`ConnectionClosed` | The exception raised when the remote peer unexpectedly closes a connection in a blocking context, | |
| 36 |
| | or an unexpected connection error occurs. | |
| 37 |
+---------------------------+---------------------------------------------------------------------------------------------------+ |
| 38 |
|
| 39 |
| |
| 40 |
|
| 41 |
Module Detail |
| 42 |
############# |
| 43 |
|
| 44 |
| |
| 45 |
|
| 46 |
.. autoclass:: proton.utils.BlockingConnection |
| 47 |
:members: |
| 48 |
:show-inheritance: |
| 49 |
:inherited-members: |
| 50 |
:undoc-members: |
| 51 |
:exclude-members: on_transport_tail_closed, on_transport_head_closed, on_transport_closed |
| 52 |
|
| 53 |
------------ |
| 54 |
|
| 55 |
.. autoclass:: proton.utils.BlockingSender |
| 56 |
:members: |
| 57 |
:show-inheritance: |
| 58 |
:inherited-members: |
| 59 |
:undoc-members: |
| 60 |
|
| 61 |
------------ |
| 62 |
|
| 63 |
.. autoclass:: proton.utils.BlockingReceiver |
| 64 |
:members: |
| 65 |
:show-inheritance: |
| 66 |
:inherited-members: |
| 67 |
:undoc-members: |
| 68 |
|
| 69 |
------------ |
| 70 |
|
| 71 |
.. autoclass:: proton.utils.ConnectionClosed |
| 72 |
:members: |
| 73 |
:show-inheritance: |
| 74 |
:inherited-members: |
| 75 |
:undoc-members: |
| 76 |
:exclude-members: args, with_traceback |
| 77 |
|
| 78 |
------------ |
| 79 |
|
| 80 |
.. autoclass:: proton.utils.LinkDetached |
| 81 |
:members: |
| 82 |
:show-inheritance: |
| 83 |
:inherited-members: |
| 84 |
:undoc-members: |
| 85 |
:exclude-members: args, with_traceback |
| 86 |
|
| 87 |
------------ |
| 88 |
|
| 89 |
.. autoclass:: proton.utils.SendException |
| 90 |
:members: |
| 91 |
:show-inheritance: |
| 92 |
:inherited-members: |
| 93 |
:undoc-members: |
| 94 |
:exclude-members: args, with_traceback |
| 95 |
|
| 96 |
------------ |
| 97 |
|
| 98 |
.. autoclass:: proton.utils.SyncRequestResponse |
| 99 |
:members: |
| 100 |
:show-inheritance: |
| 101 |
:inherited-members: |
| 102 |
:undoc-members: |