Class ClientDeliveryState.ClientModified
java.lang.Object
org.apache.qpid.protonj2.client.impl.ClientDeliveryState
org.apache.qpid.protonj2.client.impl.ClientDeliveryState.ClientModified
- All Implemented Interfaces:
DeliveryState
- Enclosing class:
ClientDeliveryState
Client defined
Modified
delivery state definition-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.qpid.protonj2.client.impl.ClientDeliveryState
ClientDeliveryState.ClientAccepted, ClientDeliveryState.ClientModified, ClientDeliveryState.ClientRejected, ClientDeliveryState.ClientReleased, ClientDeliveryState.ClientTransactional
Nested classes/interfaces inherited from interface org.apache.qpid.protonj2.client.DeliveryState
DeliveryState.Type
-
Constructor Summary
ConstructorDescriptionClientModified
(boolean failed, boolean undeliverable) Create a new instance with the given outcome values.ClientModified
(boolean failed, boolean undeliverable, Map<String, Object> annotations) Create a new instance with the given outcome values. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.qpid.protonj2.client.DeliveryState
isAccepted
-
Constructor Details
-
ClientModified
public ClientModified(boolean failed, boolean undeliverable) Create a new instance with the given outcome values.- Parameters:
failed
- has the delivery failedundeliverable
- is the delivery no longer deliverable to this client.
-
ClientModified
Create a new instance with the given outcome values.- Parameters:
failed
- has the delivery failedundeliverable
- is the delivery no longer deliverable to this client.annotations
- updated annotation values to provide to the remote.
-
-
Method Details
-
getType
- Returns:
- the type that the given
DeliveryState
represents.
-