MQTTAsync_disconnectOptions Struct Reference

Data Fields

char struct_id [4]
 The eyecatcher for this structure.
int struct_version
 The version number of this structure.
int timeout
 The client delays disconnection for up to this time (in milliseconds) in order to allow in-flight message transfers to complete.
MQTTAsync_onSuccess * onSuccess
 A pointer to a callback function to be called if the disconnect successfully completes.
MQTTAsync_onFailure * onFailure
 A pointer to a callback function to be called if the disconnect fails.
void * context
 A pointer to any application-specific context.

Field Documentation

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.

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 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.

The eyecatcher for this structure.

Must be MQTD.

The version number of this structure.

Must be 0 or 1. 0 signifies no SSL options


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Defines

Generated on 26 Oct 2017 for MQTT C Client Libraries Internals by  doxygen 1.6.1