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

The response options for various asynchronous calls. More...

#include <response_options.h>

Public Member Functions

 response_options ()
 Create an empty response object.
 
 response_options (const token_ptr &tok)
 Creates a response object with the specified callbacks. More...
 
void set_token (const token_ptr &tok)
 Sets the callback context to a generic token. More...
 

Friends

class async_client
 The client has special access.
 
class response_options_test
 
class token_test
 

Detailed Description

The response options for various asynchronous calls.

Constructor & Destructor Documentation

mqtt::response_options::response_options ( const token_ptr &  tok)

Creates a response object with the specified callbacks.

Parameters
tokA token to be used as the context.

Member Function Documentation

void mqtt::response_options::set_token ( const token_ptr &  tok)
inline

Sets the callback context to a generic token.

Parameters
tokThe token to be used as the callback context.

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