Package com.azure.core.amqp.models
Class DeliveryOutcome
java.lang.Object
com.azure.core.amqp.models.DeliveryOutcome
- Direct Known Subclasses:
ModifiedDeliveryOutcome,ReceivedDeliveryOutcome,RejectedDeliveryOutcome,TransactionalDeliveryOutcome
Outcomes accepted by the AMQP protocol layer. Some outcomes have metadata associated with them, such as
Modified while others require only a DeliveryState. An outcome with no metadata is
DeliveryState.ACCEPTED.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeliveryOutcome(DeliveryState deliveryState) Creates an instance of the delivery outcome with its state. -
Method Summary
-
Constructor Details
-
DeliveryOutcome
Creates an instance of the delivery outcome with its state.- Parameters:
deliveryState- The state of the delivery.
-
-
Method Details
-
getDeliveryState
Gets the delivery state.- Returns:
- The delivery state.
-