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,Rejected
- Enclosing class:
ClientDeliveryState
public static class ClientDeliveryState.ClientRejected
extends ClientDeliveryState
implements Rejected
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.ClientTransactionalNested classes/interfaces inherited from interface org.apache.qpid.protonj2.client.DeliveryState
DeliveryState.Type -
Constructor Summary
ConstructorsConstructorDescriptionClientRejected(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, waitMethods inherited from interface org.apache.qpid.protonj2.client.DeliveryState
isAccepted, isModified, isReleased, isTransactionalMethods inherited from interface org.apache.qpid.protonj2.client.Rejected
getType, isRejected
-
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
-
getCondition
- Specified by:
getConditionin interfaceRejected- Returns:
- the symbolic value that indicates the error condition
-
getDescription
- Specified by:
getDescriptionin interfaceRejected- Returns:
- the error description that provides supplementary details
-
getInfo
-