A channel for sending messages. More...
#include <sender.hpp>
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. |
A channel for sending messages.
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.
void open | ( | ) |
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.