sender Class Reference

A channel for sending messages. More...

#include <sender.hpp>

Inheritance diagram for sender:
link endpoint

List of all members.

Public Member Functions

 sender ()
void open ()
 Open the sender.
void open (const sender_options &opts)
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.

Detailed Description

A channel for sending messages.

Examples:

broker.cpp, client.cpp, direct_send.cpp, helloworld.cpp, multithreaded_client.cpp, multithreaded_client_flow_control.cpp, scheduled_send.cpp, scheduled_send_03.cpp, server_direct.cpp, service_bus.cpp, and simple_send.cpp.


Constructor & Destructor Documentation

sender (  )  [inline]

Create an empty sender.


Member Function Documentation

void open ( const sender_options opts  ) 

Open the sender.

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:

Generated on 14 May 2019 for Qpid Proton C++ by  doxygen 1.6.1