public interface ProtonDelivery
Modifier and Type | Method and Description |
---|---|
org.apache.qpid.proton.engine.Record |
attachments()
Retrieves the attachments record, upon which application items can be set/retrieved.
|
ProtonDelivery |
disposition(org.apache.qpid.proton.amqp.transport.DeliveryState state,
boolean settle)
Updates the DeliveryState, and optionally settle the delivery as well.
|
org.apache.qpid.proton.amqp.transport.DeliveryState |
getLocalState()
Gets the current local state for the delivery.
|
int |
getMessageFormat()
Gets the message format for the current delivery.
|
org.apache.qpid.proton.amqp.transport.DeliveryState |
getRemoteState()
Gets the current remote state for the delivery.
|
byte[] |
getTag()
Gets the delivery tag for this delivery
|
boolean |
isSettled()
Gets whether the delivery was locally settled yet.
|
boolean |
remotelySettled()
Gets whether the delivery was settled by the remote peer yet.
|
ProtonDelivery |
settle()
Settles the delivery locally.
|
ProtonDelivery disposition(org.apache.qpid.proton.amqp.transport.DeliveryState state, boolean settle)
state
- the delivery state to applysettle
- whether to settle()
the delivery at the same timeorg.apache.qpid.proton.amqp.transport.DeliveryState getLocalState()
org.apache.qpid.proton.amqp.transport.DeliveryState getRemoteState()
ProtonDelivery settle()
boolean isSettled()
boolean remotelySettled()
org.apache.qpid.proton.engine.Record attachments()
byte[] getTag()
int getMessageFormat()
Copyright © 2020 Eclipse. All rights reserved.