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 | |
RCV_FIRST = 0
|
|
RCV_SECOND = 1
|
|
SND_MIXED = 2
|
|
SND_SETTLED = 1
|
|
SND_UNSETTLED = 0
|
|
Inherited from |
Properties | |
available | |
connection The connection on which this link was attached. |
|
credit The amount of oustanding credit on this link. |
|
current | |
drain_mode | |
is_receiver Returns true if this link is a receiver. |
|
is_sender Returns true if this link is a sender. |
|
name Returns the name of the link |
|
queued | |
rcv_settle_mode | |
remote_rcv_settle_mode | |
remote_snd_settle_mode | |
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 | |
snd_settle_mode | |
source The source of the link as described by the local peer. |
|
state The state of the link as a bit field. |
|
target The target of the link as described by the local peer. |
|
unsettled | |
Inherited from Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
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. |
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. |
Property Details |
available
|
connectionThe connection on which this link was attached.
|
creditThe amount of oustanding credit on this link.
|
current
|
drain_mode
|
is_receiverReturns true if this link is a receiver.
|
is_senderReturns true if this link is a sender.
|
nameReturns the name of the link
|
queued
|
rcv_settle_mode
|
remote_rcv_settle_mode
|
remote_snd_settle_mode
|
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
|
snd_settle_mode
|
sourceThe source of the link as described by the local peer.
|
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.
|
targetThe target of the link as described by the local peer.
|
unsettled
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Oct 13 22:34:26 2015 | http://epydoc.sourceforge.net |