Address Class

Represents an AMQP endpoint.

Inheritance
builtins.object
Address

Constructor

Address(address, encoding='UTF-8')

Parameters

Name Description
address
Required
str or bytes

An AMQP endpoint URL.

encoding

The encoding used if address is supplied as a str rather than bytes. Default is UTF-8.

default value: UTF-8

Variables

Name Description
address
str

The endpoint URL.

durable

Whether the endpoint is durable.

expiry_policy

The endpoint expiry policy

timeout

The endpoint timeout in seconds.

dynamic

Whether the endpoint is dynamic.

distribution_mode
str

The endpoint distribution mode.

Methods

from_c_obj

from_c_obj

from_c_obj(c_value, encoding='UTF-8')

Parameters

Name Description
c_value
Required
encoding
default value: UTF-8

Attributes

address

distribution_mode

durable

dynamic

expiry_policy

hostname

password

scheme

timeout

username