MQTTAsync_disconnectOptions
#include <MQTTAsync.h>
char
struct_id [4]
int struct_version
int timeout
MQTTAsync_onSuccess * onSuccess
MQTTAsync_onFailure * onFailure
void * context
MQTTProperties properties
enum MQTTReasonCodes reasonCode
MQTTAsync_onSuccess5 * onSuccess5
MQTTAsync_onFailure5 * onFailure5
Options for the MQTTAsync_disconnect call
The eyecatcher for this structure. Must be MQTD.
The version number of this structure. Must be 0 or 1. 0 signifies no V5 properties
The client delays disconnection for up to this time (in milliseconds) in order to allow in-flight message transfers to complete.
A pointer to a callback function to be called if the disconnect successfully completes. Can be set to NULL, in which case no indication of successful completion will be received.
A pointer to a callback function to be called if the disconnect fails. Can be set to NULL, in which case no indication of unsuccessful completion will be received.
A pointer to any application-specific context. The
the context pointer is passed to success or failure callback functions to provide access to the context information in the callback.
MQTT V5 input properties
Reason code for MQTTV5 disconnect
A pointer to a callback function to be called if the disconnect successfully completes. Can be set to NULL, in which case no indication of successful completion will be received.
A pointer to a callback function to be called if the disconnect fails. Can be set to NULL, in which case no indication of unsuccessful completion will be received.
Generated automatically by Doxygen for Paho Asynchronous MQTT C Client Library from the source code.