structMQTTAsync__successData.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.17"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>MQTT C Client Libraries Internals: MQTTAsync_successData Struct Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectlogo"><img alt="Logo" src="pahologo.png"/></td>
  24. <td id="projectalign" style="padding-left: 0.5em;">
  25. <div id="projectname">MQTT C Client Libraries Internals
  26. </div>
  27. </td>
  28. </tr>
  29. </tbody>
  30. </table>
  31. </div>
  32. <!-- end header part -->
  33. <!-- Generated by Doxygen 1.8.17 -->
  34. <script type="text/javascript">
  35. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. /* @license-end */
  38. </script>
  39. <script type="text/javascript" src="menudata.js"></script>
  40. <script type="text/javascript" src="menu.js"></script>
  41. <script type="text/javascript">
  42. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  43. $(function() {
  44. initMenu('',true,false,'search.php','Search');
  45. $(document).ready(function() { init_search(); });
  46. });
  47. /* @license-end */</script>
  48. <div id="main-nav"></div>
  49. <!-- window showing the filter options -->
  50. <div id="MSearchSelectWindow"
  51. onmouseover="return searchBox.OnSearchSelectShow()"
  52. onmouseout="return searchBox.OnSearchSelectHide()"
  53. onkeydown="return searchBox.OnSearchSelectKey(event)">
  54. </div>
  55. <!-- iframe showing the search results (closed by default) -->
  56. <div id="MSearchResultsWindow">
  57. <iframe src="javascript:void(0)" frameborder="0"
  58. name="MSearchResults" id="MSearchResults">
  59. </iframe>
  60. </div>
  61. </div><!-- top -->
  62. <div class="header">
  63. <div class="summary">
  64. <a href="#pub-attribs">Data Fields</a> </div>
  65. <div class="headertitle">
  66. <div class="title">MQTTAsync_successData Struct Reference</div> </div>
  67. </div><!--header-->
  68. <div class="contents">
  69. <p>The data returned on completion of a successful API call in the response callback onSuccess.
  70. <a href="structMQTTAsync__successData.html#details">More...</a></p>
  71. <p><code>#include &lt;MQTTAsync.h&gt;</code></p>
  72. <div class="dynheader">
  73. Collaboration diagram for MQTTAsync_successData:</div>
  74. <div class="dyncontent">
  75. <div class="center"><img src="structMQTTAsync__successData__coll__graph.png" border="0" usemap="#MQTTAsync__successData_coll__map" alt="Collaboration graph"/></div>
  76. <map name="MQTTAsync__successData_coll__map" id="MQTTAsync__successData_coll__map">
  77. <area shape="rect" title="The data returned on completion of a successful API call in the response callback onSuccess." alt="" coords="5,377,184,404"/>
  78. <area shape="rect" href="structMQTTAsync__message.html" title="A structure representing the payload and attributes of an MQTT message." alt="" coords="17,288,172,315"/>
  79. <area shape="rect" href="structMQTTProperties.html" title="MQTT version 5 property list." alt="" coords="35,199,154,225"/>
  80. <area shape="rect" href="structMQTTProperty.html" title="Structure to hold an MQTT version 5 property of any type." alt="" coords="41,109,148,136"/>
  81. <area shape="rect" href="structMQTTLenString.html" title="The data for a length delimited string." alt="" coords="37,5,152,32"/>
  82. </map>
  83. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  84. <table class="memberdecls">
  85. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  86. Data Fields</h2></td></tr>
  87. <tr class="memitem:afd00f6f09b4cd92b5815202fc339be68"><td class="memItemLeft" align="right" valign="top">MQTTAsync_token&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__successData.html#afd00f6f09b4cd92b5815202fc339be68">token</a></td></tr>
  88. <tr class="memdesc:afd00f6f09b4cd92b5815202fc339be68"><td class="mdescLeft">&#160;</td><td class="mdescRight">A token identifying the successful request. <a href="structMQTTAsync__successData.html#afd00f6f09b4cd92b5815202fc339be68">More...</a><br /></td></tr>
  89. <tr class="separator:afd00f6f09b4cd92b5815202fc339be68"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. <tr class="memitem:af2b2a98191b00dbd7c592f2ef013ba87"><td class="memItemLeft" ><a id="af2b2a98191b00dbd7c592f2ef013ba87"></a>
  91. union {</td></tr>
  92. <tr class="memitem:aff0da7798925c8c8b9dd5ebdda5684a4"><td class="memItemLeft" >&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData.html#af12fc9f6b7a42449f8299e5a8e4f0e7e">qos</a></td></tr>
  93. <tr class="memdesc:aff0da7798925c8c8b9dd5ebdda5684a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">For subscribe, the granted QoS of the subscription returned by the server. <a href="unionMQTTAsync__successData_1_1_0d1.html#aff0da7798925c8c8b9dd5ebdda5684a4">More...</a><br /></td></tr>
  94. <tr class="separator:aff0da7798925c8c8b9dd5ebdda5684a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  95. <tr class="memitem:a5c68b2c853a4511f4b5e6184fea47d01"><td class="memItemLeft" >
  96. &#160;&#160;&#160;int *&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData.html#aa4ad4a4023c5b9796e44b9dfd0df53e7">qosList</a></td></tr>
  97. <tr class="memdesc:a5c68b2c853a4511f4b5e6184fea47d01"><td class="mdescLeft">&#160;</td><td class="mdescRight">For subscribeMany, if more than one subscription was requested, the list of granted QoSs of the subscriptions returned by the server. <br /></td></tr>
  98. <tr class="separator:a5c68b2c853a4511f4b5e6184fea47d01"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:a7f1fddba5af4fed74e466879483978bd"><td class="memItemLeft" >
  100. &#160;&#160;&#160;struct {</td></tr>
  101. <tr class="memitem:a82e429674f61390a4bebf6e8a40d9a47"><td class="memItemLeft" >
  102. &#160;&#160;&#160;&#160;&#160;&#160;<a class="el" href="structMQTTAsync__message.html">MQTTAsync_message</a>&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData.html#a0b2e85af2333e5775907d3f2b53907d4">message</a></td></tr>
  103. <tr class="memdesc:a82e429674f61390a4bebf6e8a40d9a47"><td class="mdescLeft">&#160;</td><td class="mdescRight">the message being sent to the server <br /></td></tr>
  104. <tr class="separator:a82e429674f61390a4bebf6e8a40d9a47"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:a60467b95b945ba0981ebfa726579ad88"><td class="memItemLeft" >
  106. &#160;&#160;&#160;&#160;&#160;&#160;char *&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData.html#af3eef8b306fc96c9a0e36f2d0fd1e322">destinationName</a></td></tr>
  107. <tr class="memdesc:a60467b95b945ba0981ebfa726579ad88"><td class="mdescLeft">&#160;</td><td class="mdescRight">the topic destination for the message <br /></td></tr>
  108. <tr class="separator:a60467b95b945ba0981ebfa726579ad88"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:a7f1fddba5af4fed74e466879483978bd"><td class="memItemLeft" valign="top">&#160;&#160;&#160;}&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData.html#a61d994959ff1350ab2a0986d33ecd204">pub</a></td></tr>
  110. <tr class="memdesc:a7f1fddba5af4fed74e466879483978bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">For publish, the message being sent to the server. <br /></td></tr>
  111. <tr class="separator:a7f1fddba5af4fed74e466879483978bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:a1bfb49613da11fd232e692fa9e7c102b"><td class="memItemLeft" >
  113. &#160;&#160;&#160;struct {</td></tr>
  114. <tr class="memitem:a0864e359bb5e0fcad40e3f877329d06b"><td class="memItemLeft" >
  115. &#160;&#160;&#160;&#160;&#160;&#160;char *&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData.html#a622eceefeaf9679af35841b1e7564f48">serverURI</a></td></tr>
  116. <tr class="memdesc:a0864e359bb5e0fcad40e3f877329d06b"><td class="mdescLeft">&#160;</td><td class="mdescRight">the connection string of the server <br /></td></tr>
  117. <tr class="separator:a0864e359bb5e0fcad40e3f877329d06b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:ad3917e6c87f6348e118610703b88ac9d"><td class="memItemLeft" >
  119. &#160;&#160;&#160;&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData.html#a2803f7c3e77845d14d7d54004b6c16f9">MQTTVersion</a></td></tr>
  120. <tr class="memdesc:ad3917e6c87f6348e118610703b88ac9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">the version of MQTT being used <br /></td></tr>
  121. <tr class="separator:ad3917e6c87f6348e118610703b88ac9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:abcc6588aa6c94449423cadc32f94b675"><td class="memItemLeft" >
  123. &#160;&#160;&#160;&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structMQTTAsync__successData.html#a71879fec2eb0c6b891a48ed813b2a9da">sessionPresent</a></td></tr>
  124. <tr class="memdesc:abcc6588aa6c94449423cadc32f94b675"><td class="mdescLeft">&#160;</td><td class="mdescRight">the session present flag returned from the server <br /></td></tr>
  125. <tr class="separator:abcc6588aa6c94449423cadc32f94b675"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:a1bfb49613da11fd232e692fa9e7c102b"><td class="memItemLeft" valign="top">&#160;&#160;&#160;}&#160;&#160;&#160;<b>connect</b></td></tr>
  127. <tr class="separator:a1bfb49613da11fd232e692fa9e7c102b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:af2b2a98191b00dbd7c592f2ef013ba87"><td class="memItemLeft" valign="top">}&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMQTTAsync__successData.html#af2b2a98191b00dbd7c592f2ef013ba87">alt</a></td></tr>
  129. <tr class="memdesc:af2b2a98191b00dbd7c592f2ef013ba87"><td class="mdescLeft">&#160;</td><td class="mdescRight">A union of the different values that can be returned for subscribe, unsubscribe and publish. <br /></td></tr>
  130. <tr class="separator:af2b2a98191b00dbd7c592f2ef013ba87"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. </table>
  132. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  133. <div class="textblock"><p>The data returned on completion of a successful API call in the response callback onSuccess. </p>
  134. </div><h2 class="groupheader">Field Documentation</h2>
  135. <a id="af12fc9f6b7a42449f8299e5a8e4f0e7e"></a>
  136. <h2 class="memtitle"><span class="permalink"><a href="#af12fc9f6b7a42449f8299e5a8e4f0e7e">&#9670;&nbsp;</a></span>qos</h2>
  137. <div class="memitem">
  138. <div class="memproto">
  139. <table class="memname">
  140. <tr>
  141. <td class="memname">int MQTTAsync_successData::qos</td>
  142. </tr>
  143. </table>
  144. </div><div class="memdoc">
  145. <p>For subscribe, the granted QoS of the subscription returned by the server. </p>
  146. <p>Also for subscribeMany, if only 1 subscription was requested. </p>
  147. </div>
  148. </div>
  149. <a id="afd00f6f09b4cd92b5815202fc339be68"></a>
  150. <h2 class="memtitle"><span class="permalink"><a href="#afd00f6f09b4cd92b5815202fc339be68">&#9670;&nbsp;</a></span>token</h2>
  151. <div class="memitem">
  152. <div class="memproto">
  153. <table class="memname">
  154. <tr>
  155. <td class="memname">MQTTAsync_token MQTTAsync_successData::token</td>
  156. </tr>
  157. </table>
  158. </div><div class="memdoc">
  159. <p>A token identifying the successful request. </p>
  160. <p>Can be used to refer to the request later. </p>
  161. </div>
  162. </div>
  163. <hr/>The documentation for this struct was generated from the following file:<ul>
  164. <li>MQTTAsync.h</li>
  165. </ul>
  166. </div><!-- contents -->
  167. <!-- start footer part -->
  168. <hr class="footer"/><address class="footer"><small>
  169. Generated on Thu Sep 29 2022 11:34:46 for MQTT C Client Libraries Internals by &#160;<a href="http://www.doxygen.org/index.html">
  170. <img class="footer" src="doxygen.png" alt="doxygen"/>
  171. </a> 1.8.17
  172. </small></address>
  173. </body>
  174. </html>