Qpid Proton C++ API  0.38.0
sender

A channel for sending messages. More...

#include <sender.hpp>

Inheritance diagram for sender:
link endpoint

Public Member Functions

 sender ()=default
 Create an empty sender.
 
void open ()
 Open the sender.
 
void open (const sender_options &opts)
 Open the sender. More...
 
tracker send (const message &m)
 Send a message on the sender.
 
tracker send (const message &m, const binary &tag)
 
class source source () const
 Get the source node.
 
class target target () const
 Get the target node.
 
void return_credit ()
 Unsettled API - Return all unused credit to the receiver in response to a drain request. More...
 

Detailed Description

Member Function Documentation

◆ open()

void open ( const sender_options opts)

Open the sender.

◆ return_credit()

void return_credit ( )

Unsettled API - Return all unused credit to the receiver in response to a drain request.

Has no effect unless there has been a drain request and there is remaining credit to use or return.

See also
receiver::drain

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