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-streamed
- ReceiverType- 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 SummaryFields Modifier and Type Field Description protected IncomingDeliverydeliveryprotected ReceiverTypereceiver
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description DeliveryTypeaccept()DeliveryTypedisposition(DeliveryState state, boolean settle)intmessageFormat()DeliveryTypemodified(boolean deliveryFailed, boolean undeliverableHere)DeliveryTypereject(String condition, String description)DeliveryTyperelease()booleanremoteSettled()DeliveryStateremoteState()protected abstract DeliveryTypeself()DeliveryTypesettle()booleansettled()DeliveryStatestate()
 
- 
- 
- 
Field Detail- 
receiverprotected final ReceiverType extends ClientReceiverLinkType receiver 
 - 
deliveryprotected final IncomingDelivery delivery 
 
- 
 - 
Method Detail- 
selfprotected abstract DeliveryType self() 
 - 
acceptpublic DeliveryType accept() throws ClientException - Throws:
- ClientException
 
 - 
releasepublic DeliveryType release() throws ClientException - Throws:
- ClientException
 
 - 
rejectpublic DeliveryType reject(String condition, String description) throws ClientException - Throws:
- ClientException
 
 - 
modifiedpublic DeliveryType modified(boolean deliveryFailed, boolean undeliverableHere) throws ClientException - Throws:
- ClientException
 
 - 
dispositionpublic DeliveryType disposition(DeliveryState state, boolean settle) throws ClientException - Throws:
- ClientException
 
 - 
settlepublic DeliveryType settle() throws ClientException - Throws:
- ClientException
 
 - 
statepublic DeliveryState state() 
 - 
remoteStatepublic DeliveryState remoteState() 
 - 
remoteSettledpublic boolean remoteSettled() 
 - 
messageFormatpublic int messageFormat() 
 - 
settledpublic boolean settled() 
 
- 
 
-