Qpid Proton C++  0.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Types | Public Member Functions | List of all members
delivery Class Reference

A message transfer. More...

#include <delivery.hpp>

Inherits object< pn_delivery_t >.

Public Types

enum  state {
  NONE, RECEIVED, ACCEPTED, REJECTED,
  RELEASED, MODIFIED
}
 Delivery state values. More...
 

Public Member Functions

void accept ()
 Settle with ACCEPTED state.
 
void reject ()
 Settle with REJECTED state.
 
void release ()
 Settle with RELEASED state.
 
void modify ()
 Settle with MODIFIED state.
 
state remote_state () const
 Get the remote state for a delivery.
 

Detailed Description

A message transfer.

Every delivery exists within the context of a proton::link. A delivery attempt can fail. As a result, a particular message may correspond to multiple deliveries.

Member Enumeration Documentation

enum state

Delivery state values.

Enumerator
NONE 

Unknown state.

RECEIVED 

Received but not yet settled.

ACCEPTED 

Settled as accepted.

REJECTED 

Settled as rejected.

RELEASED 

Settled as released.

MODIFIED 

Settled as modified.


The documentation for this class was generated from the following file: