Qpid Proton C++  0.26.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
sender Class Reference

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

void open ( )

Open the sender.

See Also
endpoint_lifecycle
Examples:
server_direct.cpp.
void open ( const sender_options opts)

Open the sender.

See Also
endpoint_lifecycle
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: