ProtonDelivery.disposition

Updates the DeliveryState, and optionally settle the delivery as well.

Has no effect if the delivery was previously locally settled.

@param state the delivery state to apply @param settle whether to {@link #settle()} the delivery at the same time @return itself

interface ProtonDelivery
disposition
(
DeliveryState state
,
bool settle
)

Meta