Class Rejected
- java.lang.Object
-
- org.apache.qpid.proton.amqp.messaging.Rejected
-
- All Implemented Interfaces:
Outcome,DeliveryState
public final class Rejected extends java.lang.Object implements DeliveryState, Outcome
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.qpid.proton.amqp.transport.DeliveryState
DeliveryState.DeliveryStateType
-
-
Field Summary
Fields Modifier and Type Field Description static SymbolDESCRIPTOR_SYMBOL
-
Constructor Summary
Constructors Constructor Description Rejected()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorConditiongetError()DeliveryState.DeliveryStateTypegetType()voidsetError(ErrorCondition error)intsize()java.lang.StringtoString()
-
-
-
Field Detail
-
DESCRIPTOR_SYMBOL
public static final Symbol DESCRIPTOR_SYMBOL
-
-
Method Detail
-
getError
public ErrorCondition getError()
-
setError
public void setError(ErrorCondition error)
-
size
public int size()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getType
public DeliveryState.DeliveryStateType getType()
- Specified by:
getTypein interfaceDeliveryState- Returns:
- the
DeliveryState.DeliveryStateTypethat this instance represents.
-
-