| 1 |
########################## |
| 2 |
Module ``proton.handlers`` |
| 3 |
########################## |
| 4 |
|
| 5 |
.. currentmodule:: proton.handlers |
| 6 |
|
| 7 |
Module Summary |
| 8 |
############## |
| 9 |
|
| 10 |
| |
| 11 |
|
| 12 |
+-------------------------------------+----------------------------------------------------------------------------------------+ |
| 13 |
| :class:`MessagingHandler` | A general purpose handler that makes the proton-c events somewhat simpler to deal with | |
| 14 |
| | and/or avoids repetitive tasks for common use cases. | |
| 15 |
+-------------------------------------+----------------------------------------------------------------------------------------+ |
| 16 |
| :class:`TransactionHandler` | The interface for transaction handlers - ie objects that want to be notified of state | |
| 17 |
| | changes related to a transaction. | |
| 18 |
+-------------------------------------+----------------------------------------------------------------------------------------+ |
| 19 |
| :class:`TransactionalClientHandler` | An extension to the MessagingHandler for applications using transactions. | |
| 20 |
+-------------------------------------+----------------------------------------------------------------------------------------+ |
| 21 |
|
| 22 |
| |
| 23 |
|
| 24 |
Exceptions |
| 25 |
========== |
| 26 |
|
| 27 |
| |
| 28 |
|
| 29 |
+------------------+-----------------------------------------------------------+ |
| 30 |
| :class:`Reject` | An exception that indicates a message should be rejected. | |
| 31 |
+------------------+-----------------------------------------------------------+ |
| 32 |
| :class:`Release` | An exception that indicates a message should be released. | |
| 33 |
+------------------+-----------------------------------------------------------+ |
| 34 |
|
| 35 |
| |
| 36 |
|
| 37 |
Module Detail |
| 38 |
############# |
| 39 |
|
| 40 |
| |
| 41 |
|
| 42 |
.. autoclass:: proton.handlers.MessagingHandler |
| 43 |
:members: |
| 44 |
:show-inheritance: |
| 45 |
:inherited-members: |
| 46 |
:undoc-members: |
| 47 |
:exclude-members: handlers, add |
| 48 |
|
| 49 |
------------ |
| 50 |
|
| 51 |
.. autoclass:: proton.handlers.TransactionHandler |
| 52 |
:members: |
| 53 |
:show-inheritance: |
| 54 |
:inherited-members: |
| 55 |
:undoc-members: |
| 56 |
|
| 57 |
------------ |
| 58 |
|
| 59 |
.. autoclass:: proton.handlers.TransactionalClientHandler |
| 60 |
:members: |
| 61 |
:show-inheritance: |
| 62 |
:inherited-members: |
| 63 |
:undoc-members: |
| 64 |
:exclude-members: handlers, add |
| 65 |
|
| 66 |
------------ |
| 67 |
|
| 68 |
.. autoclass:: proton.handlers.Reject |
| 69 |
:members: |
| 70 |
:show-inheritance: |
| 71 |
:inherited-members: |
| 72 |
:undoc-members: |
| 73 |
|
| 74 |
------------ |
| 75 |
|
| 76 |
.. autoclass:: proton.handlers.Release |
| 77 |
:members: |
| 78 |
:show-inheritance: |
| 79 |
:inherited-members: |
| 80 |
:undoc-members: |
| 81 |
|