Returns the number of bytes currently available for this delivery, which may not be complete yet, that are still to either be received by the application or sent by the transport.
updates the state of the delivery
TODO When does an application call this method? Do we really need this?
Gets the message-format for this Delivery, representing the 32bit value using an int.
@see Connection#getWorkHead()
Check for whether the delivery was aborted.
Check for whether the delivery is still partial.
Returns whether this delivery has data ready to be received.
Returns whether this delivery has been settled.
Returns whether this delivery's state or settled flag has ever remotely changed.
Configures a default DeliveryState to be used if a received delivery is settled/freed without any disposition state having been previously applied.
Sets the message-format for this Delivery, representing the 32bit value using an int.
Settles this delivery.
A delivery of a message on a particular link.
Whilst a message is logically a long-lived object, a delivery is short-lived - it is only intended to be used by the application until it is settled and all its data has been read.