| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
wrapper.Wrapper --+
|
object --+ |
| |
Endpoint --+
|
Connection
A representation of an AMQP connection
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Static Methods | |||
|
|||
| Class Variables | |
|
Inherited from |
| Properties | |
| connection | |
| container | |
| error | |
| hostname | |
| password | |
|
remote_container The container identifier specified by the remote peer for this connection. |
|
|
remote_desired_capabilities The capabilities desired by the remote peer for this connection. |
|
|
remote_hostname The hostname specified by the remote peer for this connection. |
|
|
remote_offered_capabilities The capabilities offered by the remote peer for this connection. |
|
|
remote_properties The properties specified by the remote peer for this connection. |
|
|
state The state of the connection as a bit field. |
|
| transport | |
| user | |
| work_head | |
|
Inherited from Inherited from |
|
| Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Closes the connection. In more detail, this moves the local state of the connection to the CLOSED state and triggers a close frame to be sent to the peer. A connection is fully closed once both peers have closed it. |
Opens the connection. In more detail, this moves the local state of the connection to the ACTIVE state and triggers an open frame to be sent to the peer. A connection is fully active once both peers have opened it. |
| Property Details |
connection
|
container
|
error
|
hostname
|
password
|
remote_containerThe container identifier specified by the remote peer for this connection.
|
remote_desired_capabilitiesThe capabilities desired by the remote peer for this connection.
|
remote_hostnameThe hostname specified by the remote peer for this connection.
|
remote_offered_capabilitiesThe capabilities offered by the remote peer for this connection.
|
remote_propertiesThe properties specified by the remote peer for this connection.
|
stateThe state of the connection as a bit field. The state has a local and a remote component. Each of these can be in one of three states: UNINIT, ACTIVE or CLOSED. These can be tested by masking against LOCAL_UNINIT, LOCAL_ACTIVE, LOCAL_CLOSED, REMOTE_UNINIT, REMOTE_ACTIVE and REMOTE_CLOSED.
|
transport
|
work_head
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Mon Apr 4 09:18:57 2016 | http://epydoc.sourceforge.net |