Qpid Proton C++ 0.40.0
Loading...
Searching...
No Matches
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.
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.

Detailed Description

Constructor & Destructor Documentation

◆ sender()

sender ( )
default

Create an empty sender.

Examples
multithreaded_client_flow_control.cpp.

Member Function Documentation

◆ open() [1/2]

void open ( )

Open the sender.

Examples
broker.cpp, and server_direct.cpp.

◆ open() [2/2]

void open ( const sender_options & opts)

Open the sender.

◆ send()

◆ source()

class source source ( ) const

Get the source node.

Examples
broker.cpp, and server_direct.cpp.

◆ 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: