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

# `amqp.abstract_channel`

Code common to Connection and Channel objects.

class amqp.abstract_channel.AbstractChannel(connection, channel_id)

  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.

  auto_decode
  channel_id
  close()

    Close this Channel or Connection.

  connection
  dispatch_method(method_sig, payload, content)
  is_closing
  method_queue
  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)