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 Symbol
DESCRIPTOR_SYMBOL
-
Constructor Summary
Constructors Constructor Description Rejected()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorCondition
getError()
DeliveryState.DeliveryStateType
getType()
void
setError(ErrorCondition error)
int
size()
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
getType
public DeliveryState.DeliveryStateType getType()
- Specified by:
getType
in interfaceDeliveryState
- Returns:
- the
DeliveryState.DeliveryStateType
that this instance represents.
-
-