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
public static class ClientDeliveryState.ClientModified extends ClientDeliveryState
Client definedModified
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
Constructors Constructor Description ClientModified(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeliveryState.Type
getType()
-
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 Detail
-
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
public ClientModified(boolean failed, boolean undeliverable, Map<String,Object> annotations)
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 Detail
-
getType
public DeliveryState.Type getType()
- Returns:
- the type that the given
DeliveryState
represents.
-
-