Class ClientDeliveryState.ClientRejected
java.lang.Object
org.apache.qpid.protonj2.client.impl.ClientDeliveryState
org.apache.qpid.protonj2.client.impl.ClientDeliveryState.ClientRejected
- All Implemented Interfaces:
DeliveryState
- Enclosing class:
- ClientDeliveryState
Client defined
Rejected
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
ConstructorDescriptionClientRejected
(String condition, String description) Create a new Rejected outcome with the given description of the rejection cause.Create a new Rejected outcome with the given description of the rejection cause. -
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
-
ClientRejected
Create a new Rejected outcome with the given description of the rejection cause.- Parameters:
condition
- the condition that defines the rejection outcome.description
- the description of the underlying cause of the rejection.
-
ClientRejected
Create a new Rejected outcome with the given description of the rejection cause.- Parameters:
condition
- the condition that defines the rejection outcome.description
- the description of the underlying cause of the rejection.info
- additional information to be provide to the remote about the rejection.
-
-
Method Details
-
getType
- Returns:
- the type that the given
DeliveryState
represents.
-