Qpid Proton C++ API  0.24.0
source

A point of origin for messages. More...

#include <source.hpp>

Inheritance diagram for source:
terminus

Public Types

enum  distribution_mode { UNSPECIFIED, COPY, MOVE }
 The policy for distributing messages. More...
 
typedef map< symbol, valuefilter_map
 Unsettled API - A map of AMQP symbol keys and filter specifiers. More...
 
enum  durability_mode
 The persistence mode of the source or target.
 
enum  expiry_policy
 When expiration of the source or target begins.
 
- Public Types inherited from terminus
enum  durability_mode { NONDURABLE, CONFIGURATION, UNSETTLED_STATE }
 The persistence mode of the source or target. More...
 
enum  expiry_policy { LINK_CLOSE, SESSION_CLOSE, CONNECTION_CLOSE, NEVER }
 When expiration of the source or target begins. More...
 

Public Member Functions

 source ()
 Create an empty source.
 
std::string address () const
 The address of the source.
 
enum distribution_mode distribution_mode () const
 Get the distribution mode.
 
const filter_mapfilters () const
 Unsettled API - Obtain the set of message filters.
 
- Public Member Functions inherited from terminus
enum expiry_policy expiry_policy () const
 Get the policy for when expiration begins.
 
duration timeout () const
 The period after which the source is discarded on expiry. More...
 
enum durability_mode durability_mode ()
 Get the durability flag.
 
bool dynamic () const
 True if the remote node is created dynamically.
 
bool anonymous () const
 True if the remote node is an anonymous-relay.
 
value node_properties () const
 Obtain a reference to the AMQP dynamic node properties for the terminus. More...
 
std::vector< symbolcapabilities () const
 Extension capabilities that are supported/requested.
 

Detailed Description

A point of origin for messages.

See also
proton::sender, proton::receiver, proton::target

Member Typedef Documentation

◆ filter_map

Unsettled API - A map of AMQP symbol keys and filter specifiers.

Member Enumeration Documentation

◆ distribution_mode

The policy for distributing messages.

Enumerator
UNSPECIFIED 

Unspecified.

COPY 

Once transferred, the message remains available to other links.

MOVE 

Once transferred, the message is unavailable to other links.


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