source Class Reference

A point of origin for messages. More...

#include <source.hpp>

Inheritance diagram for source:
terminus

List of all members.

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 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.
enum durability_mode durability_mode ()
 Get the durability flag.
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.
bool dynamic () const
 True if the remote node is created dynamically.
value node_properties () const
 Obtain a reference to the AMQP dynamic node properties for the terminus.
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

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


Member Enumeration Documentation

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.


Member Function Documentation

duration timeout (  )  const [inherited]

The period after which the source is discarded on expiry.

The duration is rounded to the nearest second.

value node_properties (  )  const [inherited]

Obtain a reference to the AMQP dynamic node properties for the terminus.

See also lifetime_policy.


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

Generated on 29 Mar 2018 for Qpid Proton C++ by  doxygen 1.6.1