Qpid Proton C++ API  0.37.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.
 
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...
 
typedef map< symbol, valuedynamic_property_map
 

Public Member Functions

 source ()=default
 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.
 
enum durability_mode durability_mode ()
 Get the durability flag.
 
enum expiry_policy expiry_policy () const
 Get the policy for when expiration begins.
 
- 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 the AMQP dynamic node properties for the terminus as a single value. More...
 
std::vector< symbolcapabilities () const
 Unsettled API Extension capabilities that are supported/requested
 
dynamic_property_map dynamic_properties () const
 Unsettled API Obtain the AMQP dynamic node properties for the terminus as a map.
 

Detailed Description

A point of origin for messages.

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

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: