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
public static class ClientDeliveryState.ClientRejected extends ClientDeliveryState
Client definedRejected
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 ClientRejected(java.lang.String condition, java.lang.String description)
Create a new Rejected outcome with the given description of the rejection cause.ClientRejected(java.lang.String condition, java.lang.String description, java.util.Map<java.lang.String,java.lang.Object> info)
Create a new Rejected outcome with the given description of the rejection cause.
-
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
-
ClientRejected
public ClientRejected(java.lang.String condition, java.lang.String description)
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
public ClientRejected(java.lang.String condition, java.lang.String description, java.util.Map<java.lang.String,java.lang.Object> info)
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 Detail
-
getType
public DeliveryState.Type getType()
- Returns:
- the type that the given
DeliveryState
represents.
-
-