Class TransactionalState
- java.lang.Object
-
- org.apache.qpid.protonj2.types.transactions.TransactionalState
-
- All Implemented Interfaces:
DeliveryState
public final class TransactionalState extends java.lang.Object implements DeliveryState
-
-
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 TransactionalState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Outcome
getOutcome()
Binary
getTxnId()
DeliveryState.DeliveryStateType
getType()
TransactionalState
setOutcome(Outcome outcome)
TransactionalState
setTxnId(Binary txnId)
java.lang.String
toString()
-
-
-
Field Detail
-
DESCRIPTOR_CODE
public static final UnsignedLong DESCRIPTOR_CODE
-
DESCRIPTOR_SYMBOL
public static final Symbol DESCRIPTOR_SYMBOL
-
-
Method Detail
-
getTxnId
public Binary getTxnId()
-
setTxnId
public TransactionalState setTxnId(Binary txnId)
-
getOutcome
public Outcome getOutcome()
-
setOutcome
public TransactionalState setOutcome(Outcome outcome)
-
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.
-
-