Paho C++
1.0
The Paho MQTT C++ Client Library
|
The response options for asynchronous calls targeted at delivery. More...
#include <response_options.h>
Public Member Functions | |
delivery_response_options () | |
Create an empty delivery response object. | |
delivery_response_options (const delivery_token_ptr &dtok) | |
Creates a response object tied to the specific delivery token. More... | |
void | set_token (const delivery_token_ptr &dtok) |
Sets the callback context to a delivery token. More... | |
Friends | |
class | async_client |
The client has special access. | |
class | delivery_response_options_test |
The response options for asynchronous calls targeted at delivery.
Each of these objects is tied to a specific delivery_token.
mqtt::delivery_response_options::delivery_response_options | ( | const delivery_token_ptr & | dtok | ) |
Creates a response object tied to the specific delivery token.
dtok | A delivery token to be used as the context. |
|
inline |
Sets the callback context to a delivery token.
dtok | The delivery token to be used as the callback context. |