| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| <meta name="generator" content="Doxygen 1.8.13"/> |
| <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| <title>Qpid Proton C API: proton/connection_driver.h Source File</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="jquery.js"></script> |
| <script type="text/javascript" src="dynsections.js"></script> |
| <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="resize.js"></script> |
| <script type="text/javascript" src="navtreedata.js"></script> |
| <script type="text/javascript" src="navtree.js"></script> |
| <script type="text/javascript"> |
| $(document).ready(initResizable); |
| </script> |
| <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="search/searchdata.js"></script> |
| <script type="text/javascript" src="search/search.js"></script> |
| <script type="text/javascript"> |
| $(document).ready(function() { init_search(); }); |
| </script> |
| <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| </head> |
| <body> |
| <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0"> |
| <tbody> |
| <tr style="height: 56px;"> |
| <td id="projectalign" style="padding-left: 0.5em;"> |
| <div id="projectname">Qpid Proton C API |
|  <span id="projectnumber">0.18.0</span> |
| </div> |
| </td> |
| <td> <div id="MSearchBox" class="MSearchBoxInactive"> |
| <span class="left"> |
| <img id="MSearchSelect" src="search/mag_sel.png" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| alt=""/> |
| <input type="text" id="MSearchField" value="Search" accesskey="S" |
| onfocus="searchBox.OnSearchFieldFocus(true)" |
| onblur="searchBox.OnSearchFieldFocus(false)" |
| onkeyup="searchBox.OnSearchFieldChange(event)"/> |
| </span><span class="right"> |
| <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
| </span> |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.13 --> |
| <script type="text/javascript"> |
| var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| </script> |
| </div><!-- top --> |
| <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| <div id="nav-tree"> |
| <div id="nav-tree-contents"> |
| <div id="nav-sync" class="sync"></div> |
| </div> |
| </div> |
| <div id="splitbar" style="-moz-user-select:none;" |
| class="ui-resizable-handle"> |
| </div> |
| </div> |
| <script type="text/javascript"> |
| $(document).ready(function(){initNavTree('connection__driver_8h_source.html','');}); |
| </script> |
| <div id="doc-content"> |
| <!-- window showing the filter options --> |
| <div id="MSearchSelectWindow" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| </div> |
| |
| <!-- iframe showing the search results (closed by default) --> |
| <div id="MSearchResultsWindow"> |
| <iframe src="javascript:void(0)" frameborder="0" |
| name="MSearchResults" id="MSearchResults"> |
| </iframe> |
| </div> |
| |
| <div class="header"> |
| <div class="headertitle"> |
| <div class="title">connection_driver.h</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| <a href="connection__driver_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef PROTON_CONNECTION_DRIVER_H</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define PROTON_CONNECTION_DRIVER_H 1</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">/*</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * distributed with this work for additional information</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * "License"); you may not use this file except in compliance</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * with the License. You may obtain a copy of the License at</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * Unless required by applicable law or agreed to in writing,</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * software distributed under the License is distributed on an</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * KIND, either express or implied. See the License for the</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * specific language governing permissions and limitations</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * under the License.</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> */</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="preprocessor">#include <proton/import_export.h></span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="preprocessor">#include <<a class="code" href="event_8h.html">proton/event.h</a>></span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor">#include <<a class="code" href="types_8h.html">proton/types.h</a>></span></div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="preprocessor">#include <stdarg.h></span></div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="group__connection__driver.html"> 90</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> {</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <a class="code" href="group__connection.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *connection;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="group__transport.html#gac26eda05f649bbf0399f3d8d78d12fa8">pn_transport_t</a> *transport;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <a class="code" href="group__event.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a> *collector;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <a class="code" href="group__event.html#ga6bc581dfeaa8e8d46d07d37229d565c9">pn_event_batch_t</a> batch;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> } <a class="code" href="group__connection__driver.html#ga9793522a25c9741e8d17a570a47e9711">pn_connection_driver_t</a>;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> PN_EXTERN <span class="keywordtype">int</span> <a class="code" href="group__connection__driver.html#ga2330d329e295da740ef8d126657470c6">pn_connection_driver_init</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a>*, <a class="code" href="group__connection.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a>*, <a class="code" href="group__transport.html#gac26eda05f649bbf0399f3d8d78d12fa8">pn_transport_t</a>*);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> PN_EXTERN <span class="keywordtype">int</span> <a class="code" href="group__connection__driver.html#gad2bdef0f5abe7cf593afcee237c6af56">pn_connection_driver_bind</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *d);</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> PN_EXTERN <span class="keywordtype">void</span> <a class="code" href="group__connection__driver.html#ga3e8959d7897cd9415f687981c1d94c96">pn_connection_driver_destroy</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *);</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> </div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> PN_EXTERN <a class="code" href="group__connection.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a> *<a class="code" href="group__connection__driver.html#ga96a6bf8efc2dd7b76734cb2432441333">pn_connection_driver_release_connection</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *d);</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> PN_EXTERN <a class="code" href="group__api__types.html#structpn__rwbytes__t">pn_rwbytes_t</a> <a class="code" href="group__connection__driver.html#ga0dd152968de6ec06de352e1cbc51c438">pn_connection_driver_read_buffer</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *);</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span> PN_EXTERN <span class="keywordtype">void</span> <a class="code" href="group__connection__driver.html#gaa164510528ce160efddbde2245c438b1">pn_connection_driver_read_done</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *, <span class="keywordtype">size_t</span> n);</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span> PN_EXTERN <span class="keywordtype">void</span> <a class="code" href="group__connection__driver.html#ga11b59aec2b54acdefd63dfbce8d09a3f">pn_connection_driver_read_close</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *);</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span> </div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> PN_EXTERN <span class="keywordtype">bool</span> <a class="code" href="group__connection__driver.html#ga56ccde529842f18774fdf827e86afa23">pn_connection_driver_read_closed</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *);</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span> </div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  PN_EXTERN <a class="code" href="group__api__types.html#structpn__bytes__t">pn_bytes_t</a> <a class="code" href="group__connection__driver.html#ga3e5795e14572eec632231fe9f916ca5f">pn_connection_driver_write_buffer</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *);</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> </div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span> PN_EXTERN <span class="keywordtype">void</span> <a class="code" href="group__connection__driver.html#gaead42b6a9356214d9e2bb591af009243">pn_connection_driver_write_done</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *, <span class="keywordtype">size_t</span> n);</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> PN_EXTERN <span class="keywordtype">void</span> <a class="code" href="group__connection__driver.html#gafdca1cd72d6da760d3df7981085b36ce">pn_connection_driver_write_close</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *);</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> PN_EXTERN <span class="keywordtype">bool</span> <a class="code" href="group__connection__driver.html#ga001b2f3c1bfe4d24d53b93d79dccbfe3">pn_connection_driver_write_closed</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *);</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span> </div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> PN_EXTERN <span class="keywordtype">void</span> <a class="code" href="group__connection__driver.html#gad0c98415e0105efb71e8c1a8c4c1e5fb">pn_connection_driver_close</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> * c);</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span> PN_EXTERN <a class="code" href="group__event.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a>* <a class="code" href="group__connection__driver.html#ga00b32ae810a25ba6e172d6ed870982a5">pn_connection_driver_next_event</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *);</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> PN_EXTERN <span class="keywordtype">bool</span> <a class="code" href="group__connection__driver.html#gae51f2124706bb1674e2c623a2dc62da7">pn_connection_driver_has_event</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *);</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span> </div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span> PN_EXTERN <span class="keywordtype">bool</span> <a class="code" href="group__connection__driver.html#ga38f56836858b2d4a04ab961f650950d4">pn_connection_driver_finished</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *);</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> </div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span> PN_EXTERN <span class="keywordtype">void</span> <a class="code" href="group__connection__driver.html#ga373eb1f632468582d025f5d6acf9655e">pn_connection_driver_errorf</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *d, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, ...);</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span> </div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span> PN_EXTERN <span class="keywordtype">void</span> <a class="code" href="group__connection__driver.html#gad774f90adceaf86748a0ae781f66daf2">pn_connection_driver_verrorf</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *d, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, va_list);</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span> </div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span> PN_EXTERN <a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a>* <a class="code" href="group__connection__driver.html#gada5c75a658ae2814f253a91723be9baf">pn_event_batch_connection_driver</a>(<a class="code" href="group__event.html#ga6bc581dfeaa8e8d46d07d37229d565c9">pn_event_batch_t</a> *batch);</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span> </div><div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="group__connection__driver.html#ga56e55c7d0343529b7fb3002b930a36b2"> 246</a></span> <span class="preprocessor">#define PN_TRANSPORT_WRITE_CLOSED PN_TRANSPORT_HEAD_CLOSED</span></div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span> </div><div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="group__connection__driver.html#ga9a331416719994f6cb0971acce5208fb"> 252</a></span> <span class="preprocessor">#define PN_TRANSPORT_READ_CLOSED PN_TRANSPORT_TAIL_CLOSED</span></div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span> PN_EXTERN <span class="keywordtype">void</span> <a class="code" href="group__connection__driver.html#gadb682f03cb66b5898c4b285353e0005e">pn_connection_driver_log</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *d, <span class="keyword">const</span> <span class="keywordtype">char</span> *msg);</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span> </div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span> PN_EXTERN <span class="keywordtype">void</span> <a class="code" href="group__connection__driver.html#ga756d1d7130b79f639d71d331f9005cab">pn_connection_driver_logf</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *d, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, ...);</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span> </div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span> PN_EXTERN <span class="keywordtype">void</span> <a class="code" href="group__connection__driver.html#gabf97a6a0b608fd096fcaa4f2692c2c63">pn_connection_driver_vlogf</a>(<a class="code" href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a> *d, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, va_list ap);</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span> </div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span> }</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span> </div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="preprocessor">#endif </span><span class="comment">/* connection_driver.h */</span><span class="preprocessor"></span></div><div class="ttc" id="group__connection__driver_html_gadb682f03cb66b5898c4b285353e0005e"><div class="ttname"><a href="group__connection__driver.html#gadb682f03cb66b5898c4b285353e0005e">pn_connection_driver_log</a></div><div class="ttdeci">void pn_connection_driver_log(pn_connection_driver_t *d, const char *msg)</div><div class="ttdoc">Deprecated - Use pn_transport_log(). </div></div> |
| <div class="ttc" id="types_8h_html"><div class="ttname"><a href="types_8h.html">types.h</a></div><div class="ttdoc">AMQP and API data types. </div></div> |
| <div class="ttc" id="group__connection__driver_html_ga9793522a25c9741e8d17a570a47e9711"><div class="ttname"><a href="group__connection__driver.html#ga9793522a25c9741e8d17a570a47e9711">pn_connection_driver_t</a></div><div class="ttdeci">struct pn_connection_driver_t pn_connection_driver_t</div><div class="ttdoc">The elements needed to drive AMQP IO and events. </div></div> |
| <div class="ttc" id="group__connection__driver_html_gad2bdef0f5abe7cf593afcee237c6af56"><div class="ttname"><a href="group__connection__driver.html#gad2bdef0f5abe7cf593afcee237c6af56">pn_connection_driver_bind</a></div><div class="ttdeci">int pn_connection_driver_bind(pn_connection_driver_t *d)</div><div class="ttdoc">Force binding of the transport. </div></div> |
| <div class="ttc" id="group__connection__driver_html_ga373eb1f632468582d025f5d6acf9655e"><div class="ttname"><a href="group__connection__driver.html#ga373eb1f632468582d025f5d6acf9655e">pn_connection_driver_errorf</a></div><div class="ttdeci">void pn_connection_driver_errorf(pn_connection_driver_t *d, const char *name, const char *fmt,...)</div><div class="ttdoc">Set transport error. </div></div> |
| <div class="ttc" id="group__connection__driver_html_gabf97a6a0b608fd096fcaa4f2692c2c63"><div class="ttname"><a href="group__connection__driver.html#gabf97a6a0b608fd096fcaa4f2692c2c63">pn_connection_driver_vlogf</a></div><div class="ttdeci">void pn_connection_driver_vlogf(pn_connection_driver_t *d, const char *fmt, va_list ap)</div><div class="ttdoc">Deprecated - Use pn_transport_vlogf(). </div></div> |
| <div class="ttc" id="group__connection__driver_html_gada5c75a658ae2814f253a91723be9baf"><div class="ttname"><a href="group__connection__driver.html#gada5c75a658ae2814f253a91723be9baf">pn_event_batch_connection_driver</a></div><div class="ttdeci">pn_connection_driver_t * pn_event_batch_connection_driver(pn_event_batch_t *batch)</div><div class="ttdoc">If batch is part of a connection_driver, return the connection_driver address, else return NULL...</div></div> |
| <div class="ttc" id="group__connection__driver_html_ga00b32ae810a25ba6e172d6ed870982a5"><div class="ttname"><a href="group__connection__driver.html#ga00b32ae810a25ba6e172d6ed870982a5">pn_connection_driver_next_event</a></div><div class="ttdeci">pn_event_t * pn_connection_driver_next_event(pn_connection_driver_t *)</div><div class="ttdoc">Get the next event to handle. </div></div> |
| <div class="ttc" id="group__connection__driver_html_gae51f2124706bb1674e2c623a2dc62da7"><div class="ttname"><a href="group__connection__driver.html#gae51f2124706bb1674e2c623a2dc62da7">pn_connection_driver_has_event</a></div><div class="ttdeci">bool pn_connection_driver_has_event(pn_connection_driver_t *)</div><div class="ttdoc">True if pn_connection_driver_next_event() will return a non-NULL event. </div></div> |
| <div class="ttc" id="group__transport_html_gac26eda05f649bbf0399f3d8d78d12fa8"><div class="ttname"><a href="group__transport.html#gac26eda05f649bbf0399f3d8d78d12fa8">pn_transport_t</a></div><div class="ttdeci">struct pn_transport_t pn_transport_t</div><div class="ttdoc">A network channel supporting an AMQP connection. </div><div class="ttdef"><b>Definition:</b> types.h:431</div></div> |
| <div class="ttc" id="group__connection__driver_html_ga0dd152968de6ec06de352e1cbc51c438"><div class="ttname"><a href="group__connection__driver.html#ga0dd152968de6ec06de352e1cbc51c438">pn_connection_driver_read_buffer</a></div><div class="ttdeci">pn_rwbytes_t pn_connection_driver_read_buffer(pn_connection_driver_t *)</div><div class="ttdoc">Get the read buffer. </div></div> |
| <div class="ttc" id="group__api__types_html_structpn__rwbytes__t"><div class="ttname"><a href="group__api__types.html#structpn__rwbytes__t">pn_rwbytes_t</a></div><div class="ttdoc">A non-const byte buffer. </div><div class="ttdef"><b>Definition:</b> types.h:231</div></div> |
| <div class="ttc" id="group__event_html_ga6bc581dfeaa8e8d46d07d37229d565c9"><div class="ttname"><a href="group__event.html#ga6bc581dfeaa8e8d46d07d37229d565c9">pn_event_batch_t</a></div><div class="ttdeci">struct pn_event_batch_t pn_event_batch_t</div><div class="ttdoc">Unsettled API - A batch of events that must be handled in sequence. </div><div class="ttdef"><b>Definition:</b> event.h:547</div></div> |
| <div class="ttc" id="group__connection__driver_html_structpn__connection__driver__t"><div class="ttname"><a href="group__connection__driver.html#structpn__connection__driver__t">pn_connection_driver_t</a></div><div class="ttdoc">The elements needed to drive AMQP IO and events. </div><div class="ttdef"><b>Definition:</b> connection_driver.h:90</div></div> |
| <div class="ttc" id="group__event_html_ga905cdecedb8020bc28e648e43348b5d1"><div class="ttname"><a href="group__event.html#ga905cdecedb8020bc28e648e43348b5d1">pn_collector_t</a></div><div class="ttdeci">struct pn_collector_t pn_collector_t</div><div class="ttdoc">An event collector. </div><div class="ttdef"><b>Definition:</b> types.h:413</div></div> |
| <div class="ttc" id="group__connection__driver_html_ga001b2f3c1bfe4d24d53b93d79dccbfe3"><div class="ttname"><a href="group__connection__driver.html#ga001b2f3c1bfe4d24d53b93d79dccbfe3">pn_connection_driver_write_closed</a></div><div class="ttdeci">bool pn_connection_driver_write_closed(pn_connection_driver_t *)</div><div class="ttdoc">True if write side is closed. </div></div> |
| <div class="ttc" id="group__connection__driver_html_ga96a6bf8efc2dd7b76734cb2432441333"><div class="ttname"><a href="group__connection__driver.html#ga96a6bf8efc2dd7b76734cb2432441333">pn_connection_driver_release_connection</a></div><div class="ttdeci">pn_connection_t * pn_connection_driver_release_connection(pn_connection_driver_t *d)</div><div class="ttdoc">Disassociate the driver&#39;s connection from its transport and collector and sets d->connection = NULL...</div></div> |
| <div class="ttc" id="group__connection__driver_html_ga11b59aec2b54acdefd63dfbce8d09a3f"><div class="ttname"><a href="group__connection__driver.html#ga11b59aec2b54acdefd63dfbce8d09a3f">pn_connection_driver_read_close</a></div><div class="ttdeci">void pn_connection_driver_read_close(pn_connection_driver_t *)</div><div class="ttdoc">Close the read side. </div></div> |
| <div class="ttc" id="group__connection__driver_html_ga56ccde529842f18774fdf827e86afa23"><div class="ttname"><a href="group__connection__driver.html#ga56ccde529842f18774fdf827e86afa23">pn_connection_driver_read_closed</a></div><div class="ttdeci">bool pn_connection_driver_read_closed(pn_connection_driver_t *)</div><div class="ttdoc">True if read side is closed. </div></div> |
| <div class="ttc" id="group__connection__driver_html_ga3e5795e14572eec632231fe9f916ca5f"><div class="ttname"><a href="group__connection__driver.html#ga3e5795e14572eec632231fe9f916ca5f">pn_connection_driver_write_buffer</a></div><div class="ttdeci">pn_bytes_t pn_connection_driver_write_buffer(pn_connection_driver_t *)</div><div class="ttdoc">Get the write buffer. </div></div> |
| <div class="ttc" id="group__connection__driver_html_gad774f90adceaf86748a0ae781f66daf2"><div class="ttname"><a href="group__connection__driver.html#gad774f90adceaf86748a0ae781f66daf2">pn_connection_driver_verrorf</a></div><div class="ttdeci">void pn_connection_driver_verrorf(pn_connection_driver_t *d, const char *name, const char *fmt, va_list)</div><div class="ttdoc">Set transport error via a va_list, see pn_connection_driver_errorf() </div></div> |
| <div class="ttc" id="group__connection__driver_html_ga2330d329e295da740ef8d126657470c6"><div class="ttname"><a href="group__connection__driver.html#ga2330d329e295da740ef8d126657470c6">pn_connection_driver_init</a></div><div class="ttdeci">int pn_connection_driver_init(pn_connection_driver_t *, pn_connection_t *, pn_transport_t *)</div><div class="ttdoc">Set connection and transport to the provided values, or create a new pn_connection_t or pn_transport_...</div></div> |
| <div class="ttc" id="group__connection__driver_html_gad0c98415e0105efb71e8c1a8c4c1e5fb"><div class="ttname"><a href="group__connection__driver.html#gad0c98415e0105efb71e8c1a8c4c1e5fb">pn_connection_driver_close</a></div><div class="ttdeci">void pn_connection_driver_close(pn_connection_driver_t *c)</div><div class="ttdoc">Close both sides. </div></div> |
| <div class="ttc" id="group__connection__driver_html_ga38f56836858b2d4a04ab961f650950d4"><div class="ttname"><a href="group__connection__driver.html#ga38f56836858b2d4a04ab961f650950d4">pn_connection_driver_finished</a></div><div class="ttdeci">bool pn_connection_driver_finished(pn_connection_driver_t *)</div><div class="ttdoc">Return true if the the driver is closed for reading and writing and there are no more events...</div></div> |
| <div class="ttc" id="event_8h_html"><div class="ttname"><a href="event_8h.html">event.h</a></div><div class="ttdoc">Protocol and transport events. </div></div> |
| <div class="ttc" id="group__connection__driver_html_gafdca1cd72d6da760d3df7981085b36ce"><div class="ttname"><a href="group__connection__driver.html#gafdca1cd72d6da760d3df7981085b36ce">pn_connection_driver_write_close</a></div><div class="ttdeci">void pn_connection_driver_write_close(pn_connection_driver_t *)</div><div class="ttdoc">Close the write side. </div></div> |
| <div class="ttc" id="group__connection_html_ga886351d81ff3a977a284a206526c5aff"><div class="ttname"><a href="group__connection.html#ga886351d81ff3a977a284a206526c5aff">pn_connection_t</a></div><div class="ttdeci">struct pn_connection_t pn_connection_t</div><div class="ttdoc">An AMQP Connection object. </div><div class="ttdef"><b>Definition:</b> types.h:281</div></div> |
| <div class="ttc" id="group__connection__driver_html_ga3e8959d7897cd9415f687981c1d94c96"><div class="ttname"><a href="group__connection__driver.html#ga3e8959d7897cd9415f687981c1d94c96">pn_connection_driver_destroy</a></div><div class="ttdeci">void pn_connection_driver_destroy(pn_connection_driver_t *)</div><div class="ttdoc">Unbind, release and free the connection and transport. </div></div> |
| <div class="ttc" id="group__connection__driver_html_gaead42b6a9356214d9e2bb591af009243"><div class="ttname"><a href="group__connection__driver.html#gaead42b6a9356214d9e2bb591af009243">pn_connection_driver_write_done</a></div><div class="ttdeci">void pn_connection_driver_write_done(pn_connection_driver_t *, size_t n)</div><div class="ttdoc">Call when the first n bytes of pn_connection_driver_write_buffer() have been written to IO...</div></div> |
| <div class="ttc" id="group__connection__driver_html_ga756d1d7130b79f639d71d331f9005cab"><div class="ttname"><a href="group__connection__driver.html#ga756d1d7130b79f639d71d331f9005cab">pn_connection_driver_logf</a></div><div class="ttdeci">void pn_connection_driver_logf(pn_connection_driver_t *d, const char *fmt,...)</div><div class="ttdoc">Deprecated - Use pn_transport_logf(). </div></div> |
| <div class="ttc" id="group__connection__driver_html_gaa164510528ce160efddbde2245c438b1"><div class="ttname"><a href="group__connection__driver.html#gaa164510528ce160efddbde2245c438b1">pn_connection_driver_read_done</a></div><div class="ttdeci">void pn_connection_driver_read_done(pn_connection_driver_t *, size_t n)</div><div class="ttdoc">Process the first n bytes of data in pn_connection_driver_read_buffer() and reclaim the buffer space...</div></div> |
| <div class="ttc" id="group__api__types_html_structpn__bytes__t"><div class="ttname"><a href="group__api__types.html#structpn__bytes__t">pn_bytes_t</a></div><div class="ttdoc">A const byte buffer. </div><div class="ttdef"><b>Definition:</b> types.h:212</div></div> |
| <div class="ttc" id="group__event_html_ga87f3028b4888632bbd56fb71ac737ae8"><div class="ttname"><a href="group__event.html#ga87f3028b4888632bbd56fb71ac737ae8">pn_event_t</a></div><div class="ttdeci">struct pn_event_t pn_event_t</div><div class="ttdoc">Notification of a state change in the protocol engine. </div><div class="ttdef"><b>Definition:</b> event.h:75</div></div> |
| </div><!-- fragment --></div><!-- contents --> |
| </div><!-- doc-content --> |
| <!-- start footer part --> |
| <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| <ul> |
| <li class="navelem"><a class="el" href="dir_25143d27009f52d175c1d192441a738a.html">proton</a></li><li class="navelem"><a class="el" href="connection__driver_8h.html">connection_driver.h</a></li> |
| <li class="footer">Generated by |
| <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| </ul> |
| </div> |
| </body> |
| </html> |