Home | Trees | Indices | Help |
---|
|
object --+ | _wrapper.Wrapper --+ | Delivery
Tracks and/or records the delivery of a message over a link.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Static Methods | |||
|
Class Variables | |
RECEIVED = RECEIVED
|
|
ACCEPTED = ACCEPTED
|
|
REJECTED = REJECTED
|
|
RELEASED = RELEASED
|
|
MODIFIED = MODIFIED
|
Properties | |
tag The identifier for the delivery. |
|
writable Returns true for an outgoing delivery to which data can now be written. |
|
readable Returns true for an incoming delivery that has data to read. |
|
updated Returns true if the state of the delivery has been updated (e.g. |
|
pending | |
partial Returns true for an incoming delivery if not all the data is yet available. |
|
local_state Returns the local state of the delivery. |
|
remote_state Returns the state of the delivery as indicated by the remote peer. |
|
settled Returns true if the delivery has been settled by the remote peer. |
|
aborted Returns true if the delivery has been aborted. |
|
work_next | |
link Returns the link on which the delivery was sent or received. |
|
session Returns the session over which the delivery was sent or received. |
|
connection Returns the connection over which the delivery was sent or received. |
|
transport | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Set the local state of the delivery e.g. ACCEPTED, REJECTED, RELEASED. |
Settles the delivery locally. This indicates the application considers the delivery complete and does not wish to receive any further events about it. Every delivery should be settled locally. |
Aborts the delivery. This indicates the application wishes to invalidate any data that may have already been sent on this delivery. The delivery cannot be aborted after it has been completely delivered. |
Property Details |
tagThe identifier for the delivery.
|
writableReturns true for an outgoing delivery to which data can now be written.
|
readableReturns true for an incoming delivery that has data to read.
|
updatedReturns true if the state of the delivery has been updated (e.g. it has been settled and/or accepted, rejected etc).
|
pending
|
partialReturns true for an incoming delivery if not all the data is yet available.
|
local_stateReturns the local state of the delivery.
|
remote_stateReturns the state of the delivery as indicated by the remote peer.
|
settledReturns true if the delivery has been settled by the remote peer.
|
abortedReturns true if the delivery has been aborted.
|
work_next
|
linkReturns the link on which the delivery was sent or received.
|
sessionReturns the session over which the delivery was sent or received.
|
connectionReturns the connection over which the delivery was sent or received.
|
transport
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Mar 15 15:31:07 2019 | http://epydoc.sourceforge.net |