Debian Codegraph @

python/docs/proton.rst

raw
1 #################
2 Module ``proton``
3 #################
4
5 .. currentmodule:: proton
6
7 Module Summary
8 ##############
9
10 |
11
12 +----------------------------+-------------------------------------------------------------------------------------------------+
13 | :class:`AnnotationDict` | A dictionary that only takes :class:`symbol` or :class:`ulong` types as a key. |
14 +----------------------------+-------------------------------------------------------------------------------------------------+
15 | :class:`Condition` | An AMQP Condition object. |
16 +----------------------------+-------------------------------------------------------------------------------------------------+
17 | :class:`Connection` | A representation of an AMQP connection. |
18 +----------------------------+-------------------------------------------------------------------------------------------------+
19 | :class:`Data` | Provides an interface for decoding, extracting, creating, and encoding arbitrary AMQP data. |
20 +----------------------------+-------------------------------------------------------------------------------------------------+
21 | :class:`Delivery` | Tracks and/or records the delivery of a message over a link. |
22 +----------------------------+-------------------------------------------------------------------------------------------------+
23 | :class:`Disposition` | A delivery state. |
24 +----------------------------+-------------------------------------------------------------------------------------------------+
25 | :class:`Endpoint` | Abstract class from which :class:`Connection`, :class:`Session` and :class:`Link` are derived, |
26 | | and which defines the state of these classes. |
27 +----------------------------+-------------------------------------------------------------------------------------------------+
28 | :class:`Event` | Notification of a state change in the protocol engine. |
29 +----------------------------+-------------------------------------------------------------------------------------------------+
30 | :class:`EventType` | Connects an event number to an event name, and is used internally by :class:`Event` to represent|
31 | | all known event types. |
32 +----------------------------+-------------------------------------------------------------------------------------------------+
33 | :class:`Link` | A representation of an AMQP link (a unidirectional channel for transferring messages), of which |
34 | | there are two concrete implementations, :class:`Sender` and :class:`Receiver`. |
35 +----------------------------+-------------------------------------------------------------------------------------------------+
36 | :class:`Message` | A mutable holder of message content. |
37 +----------------------------+-------------------------------------------------------------------------------------------------+
38 | :class:`PropertyDict` | A dictionary that only takes :class:`symbol` types as a key. |
39 +----------------------------+-------------------------------------------------------------------------------------------------+
40 | :class:`Receiver` | A link over which messages are received. |
41 +----------------------------+-------------------------------------------------------------------------------------------------+
42 | :class:`SASL` | The SASL layer is responsible for establishing an authenticated and/or encrypted tunnel over |
43 | | which AMQP frames are passed between peers. |
44 +----------------------------+-------------------------------------------------------------------------------------------------+
45 | :class:`Sender` | A link over which messages are sent. |
46 +----------------------------+-------------------------------------------------------------------------------------------------+
47 | :class:`Session` | A container of links. |
48 +----------------------------+-------------------------------------------------------------------------------------------------+
49 | :class:`SSL` | An SSL session associated with a transport. |
50 +----------------------------+-------------------------------------------------------------------------------------------------+
51 | :class:`SSLDomain` | An SSL configuration domain, used to hold the SSL configuration for one or more SSL sessions. |
52 +----------------------------+-------------------------------------------------------------------------------------------------+
53 | :class:`SSLSessionDetails` | Unique identifier for the SSL session. |
54 +----------------------------+-------------------------------------------------------------------------------------------------+
55 | :class:`SymbolList` | A list that can only hold :class:`symbol` elements. |
56 +----------------------------+-------------------------------------------------------------------------------------------------+
57 | :class:`Terminus` | A source or target for messages. |
58 +----------------------------+-------------------------------------------------------------------------------------------------+
59 | :class:`Transport` | A network channel supporting an AMQP connection. |
60 +----------------------------+-------------------------------------------------------------------------------------------------+
61 | :class:`Url` | **DEPRECATED** Simple URL parser/constructor. |
62 +----------------------------+-------------------------------------------------------------------------------------------------+
63
64 |
65
66 Exceptions
67 ==========
68
69 |
70
71 +------------------------------+-----------------------------------------------------------------------------------------+
72 | :class:`ConnectionException` | An exception class raised when exceptions or errors related to a connection arise. |
73 +------------------------------+-----------------------------------------------------------------------------------------+
74 | :class:`DataException` | The DataException class is the root of the Data exception hierarchy. |
75 +------------------------------+-----------------------------------------------------------------------------------------+
76 | :class:`LinkException` | An exception class raised when exceptions or errors related to a link arise. |
77 +------------------------------+-----------------------------------------------------------------------------------------+
78 | :class:`MessageException` | The MessageException class is the root of the message exception hierarchy. |
79 +------------------------------+-----------------------------------------------------------------------------------------+
80 | :class:`ProtonException` | The root of the proton exception hierarchy. |
81 +------------------------------+-----------------------------------------------------------------------------------------+
82 | :class:`SessionException` | An exception class raised when exceptions or errors related to a session arise. |
83 +------------------------------+-----------------------------------------------------------------------------------------+
84 | :class:`SSLUnavailable` | An exception class raised when exceptions or errors related to SSL availability arise. |
85 +------------------------------+-----------------------------------------------------------------------------------------+
86 | :class:`SSLException` | An exception class raised when exceptions or errors related to SSL usage arise. |
87 +------------------------------+-----------------------------------------------------------------------------------------+
88 | :class:`Timeout` | A timeout exception indicates that a blocking operation has timed out. |
89 +------------------------------+-----------------------------------------------------------------------------------------+
90 | :class:`Interrupt` | An interrupt exception indicates that a blocking operation was interrupted. |
91 +------------------------------+-----------------------------------------------------------------------------------------+
92 | :class:`TransportException` | An exception class raised when exceptions or errors related to the AMQP transport arise.|
93 +------------------------------+-----------------------------------------------------------------------------------------+
94
95 |
96
97 AMQP Types
98 ==========
99 **NOTE:** Some AMQP types are represented by native Python types. This table contains only classes for non-native
100 Python types defined in this module. See :ref:`types` for a full list of AMQP types.
101
102 |
103
104 +---------------------+------------------------------------------------------------+
105 | :class:`Array` | An AMQP array, a sequence of AMQP values of a single type. |
106 +---------------------+------------------------------------------------------------+
107 | :class:`byte` | The byte AMQP type. |
108 +---------------------+------------------------------------------------------------+
109 | :class:`char` | The char AMQP type. |
110 +---------------------+------------------------------------------------------------+
111 | :class:`Described` | A described AMQP type. |
112 +---------------------+------------------------------------------------------------+
113 | :class:`decimal32` | The decimal32 AMQP type. |
114 +---------------------+------------------------------------------------------------+
115 | :class:`decimal64` | The decimal64 AMQP type. |
116 +---------------------+------------------------------------------------------------+
117 | :class:`decimal128` | The decimal128 AMQP type. |
118 +---------------------+------------------------------------------------------------+
119 | :class:`float32` | The float AMQP type. |
120 +---------------------+------------------------------------------------------------+
121 | :class:`int32` | The signed int AMQP type. |
122 +---------------------+------------------------------------------------------------+
123 | :class:`short` | The short AMQP type. |
124 +---------------------+------------------------------------------------------------+
125 | :class:`symbol` | The symbol AMQP type. |
126 +---------------------+------------------------------------------------------------+
127 | :class:`timestamp` | The timestamp AMQP type. |
128 +---------------------+------------------------------------------------------------+
129 | :class:`ubyte` | The unsigned byte AMQP type. |
130 +---------------------+------------------------------------------------------------+
131 | :class:`uint` | The unsigned int AMQP type. |
132 +---------------------+------------------------------------------------------------+
133 | :class:`ulong` | The ulong AMQP type. |
134 +---------------------+------------------------------------------------------------+
135 | :class:`ushort` | The unsigned short AMQP type. |
136 +---------------------+------------------------------------------------------------+
137
138 |
139
140 Module Detail
141 #############
142 .. The following classes in the __all__ list are excluded (blacklisted):
143 * Collector
144
145
146 .. autoclass:: proton.AnnotationDict
147 :members:
148 :show-inheritance:
149 :inherited-members:
150 :undoc-members:
151
152 ------------
153
154 .. autoclass:: proton.Condition
155 :members:
156 :show-inheritance:
157 :inherited-members:
158 :undoc-members:
159
160 ------------
161
162 .. autoclass:: proton.Connection
163 :members:
164 :show-inheritance:
165 :inherited-members:
166 :undoc-members:
167 :exclude-members: collect, wrap
168
169 ------------
170
171 .. autoclass:: proton.ConnectionException
172 :members:
173 :show-inheritance:
174 :inherited-members:
175 :undoc-members:
176 :exclude-members: args
177
178 ------------
179
180 .. autoclass:: proton.Data
181 :members:
182 :show-inheritance:
183 :inherited-members:
184 :undoc-members:
185 :exclude-members: get_mappings, lookup, put_mappings
186
187 ------------
188
189 .. autoclass:: proton.DataException
190 :members:
191 :show-inheritance:
192 :inherited-members:
193 :undoc-members:
194 :exclude-members: args
195
196 ------------
197
198 .. autoclass:: proton.Delivery
199 :members:
200 :show-inheritance:
201 :inherited-members:
202 :undoc-members:
203 :exclude-members: wrap
204
205 ------------
206
207 .. autoclass:: proton.Disposition
208 :members:
209 :show-inheritance:
210 :inherited-members:
211 :undoc-members:
212
213 ------------
214
215 .. autoclass:: proton.Described
216 :members:
217 :show-inheritance:
218 :inherited-members:
219 :undoc-members:
220
221 ------------
222
223 .. autoclass:: proton.Endpoint
224 :members:
225 :show-inheritance:
226 :inherited-members:
227 :undoc-members:
228
229 ------------
230
231 .. autoclass:: proton.Event
232 :members:
233 :show-inheritance:
234 :inherited-members:
235 :undoc-members:
236 :exclude-members: wrap
237
238 ------------
239
240 .. autoclass:: proton.EventType
241 :members:
242 :show-inheritance:
243 :inherited-members:
244 :undoc-members:
245
246 ------------
247
248 .. autoclass:: proton.Link
249 :members:
250 :show-inheritance:
251 :inherited-members:
252 :undoc-members:
253 :exclude-members: wrap
254
255 ------------
256
257 .. autoclass:: proton.LinkException
258 :members:
259 :show-inheritance:
260 :inherited-members:
261 :undoc-members:
262 :exclude-members: args
263
264 ------------
265
266 .. autoclass:: proton.Message
267 :members:
268 :show-inheritance:
269 :inherited-members:
270 :undoc-members:
271 :exclude-members: decode, encode
272
273 ------------
274
275 .. autoclass:: proton.MessageException
276 :members:
277 :show-inheritance:
278 :inherited-members:
279 :undoc-members:
280 :exclude-members: args
281
282 ------------
283
284 .. autoclass:: proton.ProtonException
285 :members:
286 :show-inheritance:
287 :inherited-members:
288 :undoc-members:
289 :exclude-members: args
290
291 ------------
292
293 .. autoclass:: proton.PropertyDict
294 :members:
295 :show-inheritance:
296 :inherited-members:
297 :undoc-members:
298
299 ------------
300
301 .. autoclass:: proton.Receiver
302 :members:
303 :show-inheritance:
304 :inherited-members:
305 :undoc-members:
306 :exclude-members: wrap
307
308 ------------
309
310 .. autoclass:: proton.SASL
311 :members:
312 :show-inheritance:
313 :inherited-members:
314 :undoc-members:
315
316 ------------
317
318 .. autoclass:: proton.Sender
319 :members:
320 :show-inheritance:
321 :inherited-members:
322 :undoc-members:
323 :exclude-members: wrap
324
325 ------------
326
327 .. autoclass:: proton.Session
328 :members:
329 :show-inheritance:
330 :inherited-members:
331 :undoc-members:
332 :exclude-members: wrap
333
334 ------------
335
336 .. autoclass:: proton.SessionException
337 :members:
338 :show-inheritance:
339 :inherited-members:
340 :undoc-members:
341 :exclude-members: args
342
343 ------------
344
345 .. autoclass:: proton.SSL
346 :members:
347 :show-inheritance:
348 :inherited-members:
349 :undoc-members:
350
351 ------------
352
353 .. autoclass:: proton.SSLDomain
354 :members:
355 :show-inheritance:
356 :inherited-members:
357 :undoc-members:
358
359 ------------
360
361 .. autoclass:: proton.SSLSessionDetails
362 :members:
363 :show-inheritance:
364 :inherited-members:
365 :undoc-members:
366
367 ------------
368
369 .. autoclass:: proton.SSLUnavailable
370 :members:
371 :show-inheritance:
372 :inherited-members:
373 :undoc-members:
374 :exclude-members: args
375
376 ------------
377
378 .. autoclass:: proton.SSLException
379 :members:
380 :show-inheritance:
381 :inherited-members:
382 :undoc-members:
383 :exclude-members: args
384
385 ------------
386
387 .. autoclass:: proton.SymbolList
388 :members:
389 :show-inheritance:
390 :inherited-members:
391 :undoc-members:
392
393 ------------
394
395 .. autoclass:: proton.Terminus
396 :members:
397 :show-inheritance:
398 :inherited-members:
399 :undoc-members:
400
401 ------------
402
403 .. autoclass:: proton.Timeout
404 :members:
405 :show-inheritance:
406 :inherited-members:
407 :undoc-members:
408 :exclude-members: args
409
410 ------------
411
412 .. autoclass:: proton.Interrupt
413 :members:
414 :show-inheritance:
415 :inherited-members:
416 :undoc-members:
417 :exclude-members: args
418
419 ------------
420
421 .. autoclass:: proton.Transport
422 :members:
423 :show-inheritance:
424 :inherited-members:
425 :undoc-members:
426 :exclude-members: wrap
427
428 ------------
429
430 .. autoclass:: proton.TransportException
431 :members:
432 :show-inheritance:
433 :inherited-members:
434 :undoc-members:
435 :exclude-members: args
436
437 ------------
438
439 .. autoclass:: proton.Url
440 :members:
441 :show-inheritance:
442 :undoc-members:
443
444 ------------
445
446 .. autoclass:: proton.Array
447 :members:
448 :show-inheritance:
449 :inherited-members:
450 :undoc-members:
451
452 ------------
453
454 .. autoclass:: proton.byte
455 :members:
456 :show-inheritance:
457 :undoc-members:
458
459 ------------
460
461 .. autoclass:: proton.char
462 :members:
463 :show-inheritance:
464 :undoc-members:
465
466 ------------
467
468 .. autoclass:: proton.decimal32
469 :members:
470 :show-inheritance:
471 :undoc-members:
472
473 ------------
474
475 .. autoclass:: proton.decimal64
476 :members:
477 :show-inheritance:
478 :undoc-members:
479
480 ------------
481
482 .. autoclass:: proton.decimal128
483 :members:
484 :show-inheritance:
485 :undoc-members:
486
487 ------------
488
489 .. autoclass:: proton.float32
490 :members:
491 :show-inheritance:
492 :undoc-members:
493
494 ------------
495
496 .. autoclass:: proton.int32
497 :members:
498 :show-inheritance:
499 :undoc-members:
500
501 ------------
502
503 .. autoclass:: proton.short
504 :members:
505 :show-inheritance:
506 :undoc-members:
507
508 ------------
509
510 .. autoclass:: proton.symbol
511 :members:
512 :show-inheritance:
513 :undoc-members:
514
515 ------------
516
517 .. autoclass:: proton.timestamp
518 :members:
519 :show-inheritance:
520 :undoc-members:
521
522 ------------
523
524 .. autoclass:: proton.ubyte
525 :members:
526 :show-inheritance:
527 :undoc-members:
528
529 ------------
530
531 .. autoclass:: proton.uint
532 :members:
533 :show-inheritance:
534 :undoc-members:
535
536 ------------
537
538 .. autoclass:: proton.ulong
539 :members:
540 :show-inheritance:
541 :undoc-members:
542
543 ------------
544
545 .. autoclass:: proton.ushort
546 :members:
547 :show-inheritance:
548 :undoc-members: