This document describes the current stable version of py-amqp (5.0). For development docs, go here.
amqp.abstract_channel
¶
Code common to Connection and Channel objects.
- class amqp.abstract_channel.AbstractChannel(connection, channel_id)[source]¶
Superclass for Connection and Channel.
The connection is treated as channel 0, then comes user-created channel objects.
The subclasses must have a _METHOD_MAP class property, mapping between AMQP method signatures and Python methods.