amqp.abstract_channel

Code common to Connection and Channel objects.

class amqp.abstract_channel.AbstractChannel(connection, channel_id)

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()

Close this Channel or Connection

dispatch_method(method_sig, args, content)
wait(allowed_methods=None)

Wait for a method that matches our allowed_methods parameter (the default value of None means match any method), and dispatch to it.

Previous topic

amqp.exceptions

Next topic

amqp.transport

This Page