Qpid Proton C++ API 0.39.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. 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...
 
virtual bool uninitialized () const =0
 True if the local end is uninitialized. More...
 
virtual bool active () const =0
 True if the local end is active. More...
 
virtual bool closed () const =0
 True if the local and remote ends are closed. More...
 
virtual class error_condition error () const =0
 Get the error condition of the remote endpoint. More...
 
virtual void close ()=0
 Close the endpoint. More...
 
virtual void close (const error_condition &)=0
 Close the endpoint with an error condition. 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: