This document is for py-amqp's development version, which can be significantly different from previous releases. Get the stable docs here: 2.2.


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.


Close this Channel or Connection.

dispatch_method(method_sig, payload, content)[source]
send_method(sig, format=None, args=None, content=None, wait=None, callback=None, returns_tuple=False)[source]
wait(method, callback=None, timeout=None, returns_tuple=False)[source]