1#ifndef PROTON_RECEIVER_HPP
2#define PROTON_RECEIVER_HPP
26#include "./internal/export.hpp"
29#include <proton/type_compat.h>
80 friend class internal::factory<
receiver>;
88class receiver_iterator :
public internal::iter_base<receiver, receiver_iterator> {
103 friend class connection;
104 friend class session;
A named channel for sending or receiving messages.
Definition link.hpp:43
Options for creating a receiver.
Definition receiver_options.hpp:59
A channel for receiving messages.
Definition receiver.hpp:41
void add_credit(uint32_t)
Increment the credit available to the sender.
void open(const receiver_options &opts)
Open the receiver.
void open()
Open the receiver.
receiver()=default
Create an empty receiver.
void drain()
Unsettled API - Commence a drain cycle.
A point of origin for messages.
Definition source.hpp:44
A destination for messages.
Definition target.hpp:45
A named channel for sending or receiving messages.
The main Proton namespace.
Definition annotation_key.hpp:33
T coerce(const annotation_key &x)
Get the binary value or throw conversion_error.
Definition annotation_key.hpp:83