Home | Trees | Indices | Help |
---|
|
object --+ | _wrapper.Wrapper --+ | object --+ | | | Endpoint --+ | Link
A representation of an AMQP link, of which there are two concrete implementations, Sender and Receiver.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Static Methods | |||
|
Class Variables | |
SND_UNSETTLED = 0
|
|
SND_SETTLED = 1
|
|
SND_MIXED = 2
|
|
RCV_FIRST = 0
|
|
RCV_SECOND = 1
|
|
Inherited from |
Properties | |
state The state of the link as a bit field. |
|
source The source of the link as described by the local peer. |
|
target The target of the link as described by the local peer. |
|
remote_source The source of the link as described by the remote peer. |
|
remote_target The target of the link as described by the remote peer. |
|
session | |
connection The connection on which this link was attached. |
|
current | |
unsettled | |
credit The amount of outstanding credit on this link. |
|
available | |
queued | |
name Returns the name of the link |
|
is_sender Returns true if this link is a sender. |
|
is_receiver Returns true if this link is a receiver. |
|
remote_snd_settle_mode | |
remote_rcv_settle_mode | |
snd_settle_mode | |
rcv_settle_mode | |
drain_mode | |
remote_max_message_size | |
max_message_size | |
Inherited from Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Opens the link. In more detail, this moves the local state of the link to the ACTIVE state and triggers an attach frame to be sent to the peer. A link is fully active once both peers have attached it. |
Closes the link. In more detail, this moves the local state of the link to the CLOSED state and triggers an detach frame (with the closed flag set) to be sent to the peer. A link is fully closed once both peers have detached it. |
Property Details |
stateThe state of the link 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.
|
sourceThe source of the link as described by the local peer.
|
targetThe target of the link as described by the local peer.
|
remote_sourceThe source of the link as described by the remote peer.
|
remote_targetThe target of the link as described by the remote peer.
|
session
|
connectionThe connection on which this link was attached.
|
current
|
unsettled
|
creditThe amount of outstanding credit on this link.
|
available
|
queued
|
nameReturns the name of the link
|
is_senderReturns true if this link is a sender.
|
is_receiverReturns true if this link is a receiver.
|
remote_snd_settle_mode
|
remote_rcv_settle_mode
|
snd_settle_mode
|
rcv_settle_mode
|
drain_mode
|
remote_max_message_size
|
max_message_size
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Mar 15 15:31:07 2019 | http://epydoc.sourceforge.net |