Qpid Proton C++ API 0.40.0
 
Loading...
Searching...
No Matches
transfer

The base class for delivery and tracker. More...

#include <transfer.hpp>

Inheritance diagram for transfer:
delivery tracker

Public Types

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

Public Member Functions

 transfer ()
 Create an empty transfer.
 
enum state state () const
 Get the remote state for a delivery.
 
class session session () const
 Return the session for this transfer.
 
class connection connection () const
 Return the connection for this transfer.
 
class work_queuework_queue () const
 Get the work_queue for the transfer.
 
class containercontainer () const
 Return the container for this transfer.
 
void settle ()
 Settle the delivery; informs the remote end.
 
bool settled () const
 Return true if the transfer has been settled.
 
void user_data (void *user_data) const
 Set user data on this transfer.
 
void * user_data () const
 Get user data from this transfer.
 

Detailed Description

The base class for delivery and tracker.

Member Enumeration Documentation

◆ state

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: