7 #ifndef __mqtt_response_options_h
8 #define __mqtt_response_options_h
10 #include "MQTTAsync.h"
16 class response_options_test;
17 class delivery_response_options_test;
30 MQTTAsync_responseOptions opts_;
37 friend class response_options_test;
38 friend class token_test;
56 opts_.context = tok.get();
71 MQTTAsync_responseOptions opts_;
78 friend class delivery_response_options_test;
96 opts_.context = dtok.get();
104 #endif // __mqtt_response_options_h
The response options for asynchronous calls targeted at delivery.
Definition: response_options.h:68
Lightweight client for talking to an MQTT server using non-blocking methods that allow an operation t...
Definition: async_client.h:60
void set_token(const token_ptr &tok)
Sets the callback context to a generic token.
Definition: response_options.h:54
std::weak_ptr< token > weak_ptr_t
Weak pointer to an object of this class.
Definition: token.h:157
std::weak_ptr< delivery_token > weak_ptr_t
Weak pointer to an object of this class.
Definition: delivery_token.h:61
void set_token(const delivery_token_ptr &dtok)
Sets the callback context to a delivery token.
Definition: response_options.h:94
Declaration of MQTT delivery_token class.
The response options for various asynchronous calls.
Definition: response_options.h:27
response_options()
Create an empty response object.
delivery_response_options()
Create an empty delivery response object.
Declaration of MQTT token class.