Class Rejected
- java.lang.Object
-
- org.apache.qpid.protonj2.types.messaging.Rejected
-
- All Implemented Interfaces:
Outcome
,DeliveryState
public final class Rejected extends Object implements DeliveryState, Outcome
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.qpid.protonj2.types.transport.DeliveryState
DeliveryState.DeliveryStateType
-
-
Field Summary
Fields Modifier and Type Field Description static UnsignedLong
DESCRIPTOR_CODE
static Symbol
DESCRIPTOR_SYMBOL
-
Constructor Summary
Constructors Constructor Description Rejected()
Rejected(ErrorCondition error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorCondition
getError()
DeliveryState.DeliveryStateType
getType()
Rejected
setError(ErrorCondition error)
String
toString()
-
-
-
Field Detail
-
DESCRIPTOR_CODE
public static final UnsignedLong DESCRIPTOR_CODE
-
DESCRIPTOR_SYMBOL
public static final Symbol DESCRIPTOR_SYMBOL
-
-
Constructor Detail
-
Rejected
public Rejected()
-
Rejected
public Rejected(ErrorCondition error)
-
-
Method Detail
-
getError
public ErrorCondition getError()
-
setError
public Rejected setError(ErrorCondition error)
-
getType
public DeliveryState.DeliveryStateType getType()
- Specified by:
getType
in interfaceDeliveryState
- Returns:
- the
DeliveryState.DeliveryStateType
that this instance represents.
-
-