Public Attributes | List of all members
MQTTAsync_disconnectOptions Struct Reference

#include <MQTTAsync.h>

Public Attributes

void * context
 
MQTTAsync_onFailureonFailure
 
MQTTAsync_onFailure5onFailure5
 
MQTTAsync_onSuccessonSuccess
 
MQTTAsync_onSuccess5onSuccess5
 
MQTTProperties properties
 
enum MQTTReasonCodes reasonCode
 
char struct_id [4]
 
int struct_version
 
int timeout
 

Detailed Description

Options for the MQTTAsync_disconnect call

Definition at line 1371 of file MQTTAsync.h.

Member Data Documentation

void* MQTTAsync_disconnectOptions::context

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.

Definition at line 1399 of file MQTTAsync.h.

MQTTAsync_onFailure* MQTTAsync_disconnectOptions::onFailure

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.

Definition at line 1393 of file MQTTAsync.h.

MQTTAsync_onFailure5* MQTTAsync_disconnectOptions::onFailure5

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.

Definition at line 1419 of file MQTTAsync.h.

MQTTAsync_onSuccess* MQTTAsync_disconnectOptions::onSuccess

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.

Definition at line 1387 of file MQTTAsync.h.

MQTTAsync_onSuccess5* MQTTAsync_disconnectOptions::onSuccess5

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.

Definition at line 1413 of file MQTTAsync.h.

MQTTProperties MQTTAsync_disconnectOptions::properties

MQTT V5 input properties

Definition at line 1403 of file MQTTAsync.h.

enum MQTTReasonCodes MQTTAsync_disconnectOptions::reasonCode

Reason code for MQTTV5 disconnect

Definition at line 1407 of file MQTTAsync.h.

char MQTTAsync_disconnectOptions::struct_id[4]

The eyecatcher for this structure. Must be MQTD.

Definition at line 1374 of file MQTTAsync.h.

int MQTTAsync_disconnectOptions::struct_version

The version number of this structure. Must be 0 or 1. 0 signifies no V5 properties

Definition at line 1376 of file MQTTAsync.h.

int MQTTAsync_disconnectOptions::timeout

The client delays disconnection for up to this time (in milliseconds) in order to allow in-flight message transfers to complete.

Definition at line 1381 of file MQTTAsync.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:49