This document describes the current stable version of py-amqp (2.0). For development docs, go here.
Code common to Connection and Channel objects.
Superclass for both the Connection, which is treated as channel 0, and other 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)¶
send_method(sig, format=None, args=None, content=None, wait=None, callback=None, returns_tuple=False)¶
wait(method, callback=None, timeout=None, returns_tuple=False)¶