Class ClientDeliverable<DeliveryType,ReceiverType extends ClientReceiverLinkType>
java.lang.Object
org.apache.qpid.protonj2.client.impl.ClientDeliverable<DeliveryType,ReceiverType>
- Type Parameters:
DeliveryType
- The client delivery type streamed or non-streamedReceiverType
- The client receiver type streaming or non-streaming
- Direct Known Subclasses:
ClientDelivery
,ClientStreamDelivery
public abstract class ClientDeliverable<DeliveryType,ReceiverType extends ClientReceiverLinkType>
extends Object
Abstract type that implements some of the common portions of a delivery
wrapper type.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccept()
disposition
(DeliveryState state, boolean settle) int
modified
(boolean deliveryFailed, boolean undeliverableHere) release()
boolean
protected abstract DeliveryType
self()
settle()
boolean
settled()
state()
-
Field Details
-
receiver
-
delivery
-
-
Method Details
-
self
-
accept
- Throws:
ClientException
-
release
- Throws:
ClientException
-
reject
- Throws:
ClientException
-
modified
public DeliveryType modified(boolean deliveryFailed, boolean undeliverableHere) throws ClientException - Throws:
ClientException
-
disposition
- Throws:
ClientException
-
settle
- Throws:
ClientException
-
state
-
remoteState
-
remoteSettled
public boolean remoteSettled() -
messageFormat
public int messageFormat() -
settled
public boolean settled()
-