Class ClientDeliveryState.ClientTransactional
java.lang.Object
org.apache.qpid.protonj2.client.impl.ClientDeliveryState
org.apache.qpid.protonj2.client.impl.ClientDeliveryState.ClientTransactional
- All Implemented Interfaces:
DeliveryState,Transactional
- Enclosing class:
ClientDeliveryState
public static class ClientDeliveryState.ClientTransactional
extends ClientDeliveryState
implements Transactional
Client defined
TransactionalState 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.ClientTransactionalNested classes/interfaces inherited from interface org.apache.qpid.protonj2.client.DeliveryState
DeliveryState.Type -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.qpid.protonj2.client.Transactional
getType, isTransactional
-
Method Details
-
isAccepted
public boolean isAccepted()- Specified by:
isAcceptedin interfaceDeliveryState- Returns:
- true if the
DeliveryStaterepresents an Accepted outcome.
-
isRejected
public boolean isRejected()- Specified by:
isRejectedin interfaceDeliveryState- Returns:
- true if the
DeliveryStaterepresents an Rejected outcome.
-
isReleased
public boolean isReleased()- Specified by:
isReleasedin interfaceDeliveryState- Returns:
- true if the
DeliveryStaterepresents an Released outcome.
-
isModified
public boolean isModified()- Specified by:
isModifiedin interfaceDeliveryState- Returns:
- true if the
DeliveryStaterepresents an Modified outcome.
-
getOutcome
- Specified by:
getOutcomein interfaceTransactional- Returns:
- the outcome that will be applied to the delivery once the transaction is successfully discharged
-