MQTTAsync_successData Struct Reference

The data returned on completion of a successful API call in the response callback onSuccess. More...

#include <MQTTAsync.h>

Collaboration diagram for MQTTAsync_successData:
Collaboration graph
[legend]

Data Fields

MQTTAsync_token token
 A token identifying the successful request.
union {
   int   qos
 For subscribe, the granted QoS of the subscription returned by the server.
   int *   qosList
 For subscribeMany, the list of granted QoSs of the subscriptions returned by the server.
   struct {
      MQTTAsync_message   message
      char *   destinationName
   }   pub
 For publish, the message being sent to the server.
   struct {
      char *   serverURI
      int   MQTTVersion
      int   sessionPresent
   }   connect
alt
 A union of the different values that can be returned for subscribe, unsubscribe and publish.

Detailed Description

The data returned on completion of a successful API call in the response callback onSuccess.


Field Documentation

A union of the different values that can be returned for subscribe, unsubscribe and publish.

For publish, the message being sent to the server.

For subscribe, the granted QoS of the subscription returned by the server.

For subscribeMany, the list of granted QoSs of the subscriptions returned by the server.

A token identifying the successful request.

Can be used to refer to the request later.


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