1#ifndef PROTON_SENDER_HPP
2#define PROTON_SENDER_HPP
26#include "./internal/export.hpp"
76 friend class internal::factory<
sender>;
89class sender_iterator :
public internal::iter_base<sender, sender_iterator> {
103 friend class connection;
104 friend class session;
108typedef internal::iter_range<sender_iterator>
sender_range;
Arbitrary binary data.
Definition binary.hpp:40
A named channel for sending or receiving messages.
Definition link.hpp:43
An AMQP message.
Definition message.hpp:48
Options for creating a sender.
Definition sender_options.hpp:60
A channel for sending messages.
Definition sender.hpp:40
void open(const sender_options &opts)
Open the sender.
tracker send(const message &m)
Send a message on the sender.
void open()
Open the sender.
void return_credit()
Unsettled API - Return all unused credit to the receiver in response to a drain request.
sender()=default
Create an empty sender.
A point of origin for messages.
Definition source.hpp:44
A destination for messages.
Definition target.hpp:45
A tracker for a sent message.
Definition tracker.hpp:41
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
A tracker for a sent message.