Qpid Proton C++ API  0.24.0
sender

A channel for sending messages. More...

#include <sender.hpp>

Inheritance diagram for sender:
link endpoint

Public Member Functions

 sender ()
 Create an empty sender.
 
void open ()
 Open the sender. More...
 
void open (const sender_options &opts)
 Open the sender. More...
 
tracker send (const message &m)
 Send a message on the sender.
 
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() [1/2]

void open ( )

Open the sender.

See also
endpoint_lifecycle
Examples:
server_direct.cpp.

◆ open() [2/2]

void open ( const sender_options opts)

Open the sender.

See also
endpoint_lifecycle

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