Paho C++  1.0
The Paho MQTT C++ Client Library
 All Classes Files Functions Variables Typedefs Friends
mqtt::delivery_response_options Class Reference

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
 

Detailed Description

The response options for asynchronous calls targeted at delivery.

Each of these objects is tied to a specific delivery_token.

Constructor & Destructor Documentation

mqtt::delivery_response_options::delivery_response_options ( const delivery_token_ptr &  dtok)

Creates a response object tied to the specific delivery token.

Parameters
dtokA delivery token to be used as the context.

Member Function Documentation

void mqtt::delivery_response_options::set_token ( const delivery_token_ptr &  dtok)
inline

Sets the callback context to a delivery token.

Parameters
dtokThe delivery token to be used as the callback context.

The documentation for this class was generated from the following file: