| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.20"/> |
| <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| <title>Qpid Proton C++ API: proton/connection_options.hpp 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> |
| <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"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| $(document).ready(function() { init_search(); }); |
| /* @license-end */ |
| </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.32.0</span> |
| </div> |
| </td> |
| <td> <div id="MSearchBox" class="MSearchBoxInactive"> |
| <span class="left"> |
| <img id="MSearchSelect" src="search/mag_sel.svg" |
| 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.svg" alt=""/></a> |
| </span> |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.20 --> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| /* @license-end */ |
| </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"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| $(document).ready(function(){initNavTree('connection__options_8hpp_source.html',''); initResizable(); }); |
| /* @license-end */ |
| </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_options.hpp</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| <a href="connection__options_8hpp.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_OPTIONS_H</span></div> |
| <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define PROTON_CONNECTION_OPTIONS_H</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"> *</span></div> |
| <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one</span></div> |
| <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * or more contributor license agreements. See the NOTICE file</span></div> |
| <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * distributed with this work for additional information</span></div> |
| <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * regarding copyright ownership. The ASF licenses this file</span></div> |
| <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * to you under the Apache License, Version 2.0 (the</span></div> |
| <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * "License"); you may not use this file except in compliance</span></div> |
| <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * with the License. You may obtain a copy of the License at</span></div> |
| <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> *</span></div> |
| <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div> |
| <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> *</span></div> |
| <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * Unless required by applicable law or agreed to in writing,</span></div> |
| <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * software distributed under the License is distributed on an</span></div> |
| <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div> |
| <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * KIND, either express or implied. See the License for the</span></div> |
| <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * specific language governing permissions and limitations</span></div> |
| <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * under the License.</span></div> |
| <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> *</span></div> |
| <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> */</span></div> |
| <div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div> |
| <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="duration_8hpp.html">./duration.hpp</a>"</span></div> |
| <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "<a class="code" href="fwd_8hpp.html">./fwd.hpp</a>"</span></div> |
| <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "./internal/config.hpp"</span></div> |
| <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "./internal/export.hpp"</span></div> |
| <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "./internal/pn_unique_ptr.hpp"</span></div> |
| <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "<a class="code" href="symbol_8hpp.html">./symbol.hpp</a>"</span></div> |
| <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="types__fwd_8hpp.html">./types_fwd.hpp</a>"</span></div> |
| <div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div> |
| <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include <proton/type_compat.h></span></div> |
| <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div> |
| <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include <vector></span></div> |
| <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include <string></span></div> |
| <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div> |
| <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div> |
| <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">struct </span>pn_connection_t;</div> |
| <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">struct </span>pn_transport_t;</div> |
| <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div> |
| <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">namespace </span><a class="code" href="namespaceproton.html">proton</a> {</div> |
| <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div> |
| <div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html"> 67</a></span> <span class="keyword">class </span><a class="code" href="classproton_1_1connection__options.html">connection_options</a> {</div> |
| <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">public</span>:</div> |
| <div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#a8034b8d17ca30a4cfc3db8c6a898dc4d"> 70</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html#a8034b8d17ca30a4cfc3db8c6a898dc4d">connection_options</a>();</div> |
| <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div> |
| <div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#a90933e18af82770dfa522b0e3b356f3e"> 73</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html#a90933e18af82770dfa522b0e3b356f3e">connection_options</a>(<span class="keyword">class</span> <a class="code" href="classproton_1_1messaging__handler.html">messaging_handler</a>& h);</div> |
| <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div> |
| <div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#aa946cf564c3b226b0172b3b78f59928a"> 76</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html#aa946cf564c3b226b0172b3b78f59928a">connection_options</a>(<span class="keyword">const</span> <a class="code" href="classproton_1_1connection__options.html">connection_options</a>&);</div> |
| <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div> |
| <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  PN_CPP_EXTERN ~<a class="code" href="classproton_1_1connection__options.html">connection_options</a>();</div> |
| <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  </div> |
| <div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#a2c612e142b60cf61ce50d88582465167"> 81</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#a2c612e142b60cf61ce50d88582465167">operator=</a>(<span class="keyword">const</span> <a class="code" href="classproton_1_1connection__options.html">connection_options</a>&);</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="comment">// XXX add C++11 move operations - Still relevant, and applies to all options</span></div> |
| <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  </div> |
| <div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#a7bca23aeb3455378ef2d35975758e504"> 89</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#a7bca23aeb3455378ef2d35975758e504">handler</a>(<span class="keyword">class</span> <a class="code" href="classproton_1_1messaging__handler.html">messaging_handler</a>&);</div> |
| <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  </div> |
| <div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#ad0e93961fd048b2ee5e8bdac2b041686"> 92</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#ad0e93961fd048b2ee5e8bdac2b041686">max_frame_size</a>(uint32_t max);</div> |
| <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div> |
| <div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#af66706fdb4a2f3f4d9943be9ee4b1347"> 95</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#af66706fdb4a2f3f4d9943be9ee4b1347">max_sessions</a>(uint16_t max);</div> |
| <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div> |
| <div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#a7c838237bfba8a5a04c2b97e6f023448"> 103</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#a7c838237bfba8a5a04c2b97e6f023448">idle_timeout</a>(<a class="code" href="classproton_1_1duration.html">duration</a>);</div> |
| <div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  </div> |
| <div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#a4c6429303ccb719d9c585c88f300e007"> 106</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#a4c6429303ccb719d9c585c88f300e007">container_id</a>(<span class="keyword">const</span> std::string& <span class="keywordtype">id</span>);</div> |
| <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  </div> |
| <div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#a0300a2a68ecca3f684e91e637a45e028"> 114</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#a0300a2a68ecca3f684e91e637a45e028">virtual_host</a>(<span class="keyword">const</span> std::string& name);</div> |
| <div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  </div> |
| <div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#a10afa48d580025f71f0a6dd31bd1de24"> 124</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#a10afa48d580025f71f0a6dd31bd1de24">user</a>(<span class="keyword">const</span> std::string&);</div> |
| <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  </div> |
| <div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#a78a90a1387cf91915dbe39b888955d75"> 130</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#a78a90a1387cf91915dbe39b888955d75">password</a>(<span class="keyword">const</span> std::string&);</div> |
| <div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  </div> |
| <div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#a4eb280b5a62adb5b2075d6316a590c70"> 133</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#a4eb280b5a62adb5b2075d6316a590c70">ssl_client_options</a>(<span class="keyword">const</span> <span class="keyword">class</span> <a class="code" href="classproton_1_1ssl__client__options.html">ssl_client_options</a>&);</div> |
| <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  </div> |
| <div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#a5ce3c4591be545f5ae67f22ef64fb9ef"> 136</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#a5ce3c4591be545f5ae67f22ef64fb9ef">ssl_server_options</a>(<span class="keyword">const</span> <span class="keyword">class</span> <a class="code" href="classproton_1_1ssl__server__options.html">ssl_server_options</a>&);</div> |
| <div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  </div> |
| <div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#aedcd8a70f24d08ab0bb6178524ae6a0d"> 139</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#aedcd8a70f24d08ab0bb6178524ae6a0d">sasl_enabled</a>(<span class="keywordtype">bool</span>);</div> |
| <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  </div> |
| <div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#afbabea03db40dee25da7bbdc7e918322"> 144</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#afbabea03db40dee25da7bbdc7e918322">sasl_allow_insecure_mechs</a>(<span class="keywordtype">bool</span>);</div> |
| <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  </div> |
| <div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#a52f0724b86920647ef8624922aa54ab6"> 157</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#a52f0724b86920647ef8624922aa54ab6">sasl_allowed_mechs</a>(<span class="keyword">const</span> std::string&);</div> |
| <div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  </div> |
| <div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#af49134c3e2ac611a4dbf37fb85f2f9e9"> 160</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#af49134c3e2ac611a4dbf37fb85f2f9e9">offered_capabilities</a>(<span class="keyword">const</span> std::vector<symbol>&);</div> |
| <div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  </div> |
| <div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#a37785c499f7e1b0f30dcbe8a0b9458e9"> 163</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#a37785c499f7e1b0f30dcbe8a0b9458e9">desired_capabilities</a>(<span class="keyword">const</span> std::vector<symbol>&);</div> |
| <div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  </div> |
| <div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#ad8e93a44cab5e65949046fb036c237a6"> 166</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#ad8e93a44cab5e65949046fb036c237a6">sasl_config_name</a>(<span class="keyword">const</span> std::string&);</div> |
| <div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  </div> |
| <div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#a0fc40d55673b5c89e4b5a13c630edca5"> 169</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#a0fc40d55673b5c89e4b5a13c630edca5">sasl_config_path</a>(<span class="keyword">const</span> std::string&);</div> |
| <div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  </div> |
| <div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#ad053f0ac823eefd100731c1b5248e7e8"> 175</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#ad053f0ac823eefd100731c1b5248e7e8">reconnect</a>(<span class="keyword">const</span> <a class="code" href="classproton_1_1reconnect__options.html">reconnect_options</a>&);</div> |
| <div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  </div> |
| <div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#abc8a2670fc733415dca0a723f23d0729"> 190</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#abc8a2670fc733415dca0a723f23d0729">reconnect_url</a>(<span class="keyword">const</span> std::string&);</div> |
| <div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  </div> |
| <div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#abcfa30511c5b02318105ff214ea6eab7"> 198</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#abcfa30511c5b02318105ff214ea6eab7">failover_urls</a>(<span class="keyword">const</span> std::vector<std::string>&);</div> |
| <div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  </div> |
| <div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="classproton_1_1connection__options.html#a68a8c198dfa16653afc4a70a2b845604"> 201</a></span>  PN_CPP_EXTERN <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& <a class="code" href="classproton_1_1connection__options.html#a68a8c198dfa16653afc4a70a2b845604">update</a>(<span class="keyword">const</span> <a class="code" href="classproton_1_1connection__options.html">connection_options</a>& other);</div> |
| <div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  </div> |
| <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keyword">private</span>:</div> |
| <div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keywordtype">void</span> apply_unbound(<a class="code" href="classproton_1_1connection.html">connection</a>&) <span class="keyword">const</span>;</div> |
| <div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordtype">void</span> apply_reconnect_urls(pn_connection_t* pnc) <span class="keyword">const</span>;</div> |
| <div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keywordtype">void</span> apply_unbound_client(pn_transport_t*) <span class="keyword">const</span>;</div> |
| <div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keywordtype">void</span> apply_unbound_server(pn_transport_t*) <span class="keyword">const</span>;</div> |
| <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <a class="code" href="classproton_1_1messaging__handler.html">messaging_handler</a>* <a class="code" href="classproton_1_1connection__options.html#a7bca23aeb3455378ef2d35975758e504">handler</a>() <span class="keyword">const</span>;</div> |
| <div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  </div> |
| <div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <span class="keyword">class </span>impl;</div> |
| <div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  internal::pn_unique_ptr<impl> impl_;</div> |
| <div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  </div> |
| <div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classproton_1_1container.html">container</a>;</div> |
| <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classproton_1_1io_1_1connection__driver.html">io::connection_driver</a>;</div> |
| <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classproton_1_1connection.html">connection</a>;</div> |
| <div class="line"><a name="l00218"></a><span class="lineno"> 218</span> };</div> |
| <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  </div> |
| <div class="line"><a name="l00220"></a><span class="lineno"> 220</span> } <span class="comment">// proton</span></div> |
| <div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  </div> |
| <div class="line"><a name="l00222"></a><span class="lineno"> 222</span> <span class="preprocessor">#endif // PROTON_CONNECTION_OPTIONS_H</span></div> |
| </div><!-- fragment --></div><!-- contents --> |
| </div><!-- doc-content --> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_aedcd8a70f24d08ab0bb6178524ae6a0d"><div class="ttname"><a href="classproton_1_1connection__options.html#aedcd8a70f24d08ab0bb6178524ae6a0d">proton::connection_options::sasl_enabled</a></div><div class="ttdeci">connection_options & sasl_enabled(bool)</div><div class="ttdoc">Enable or disable SASL.</div></div> |
| <div class="ttc" id="aclassproton_1_1io_1_1connection__driver_html"><div class="ttname"><a href="classproton_1_1io_1_1connection__driver.html">proton::io::connection_driver</a></div><div class="ttdoc">Unsettled API - An AMQP driver for a single connection.</div><div class="ttdef"><b>Definition:</b> connection_driver.hpp:94</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_afbabea03db40dee25da7bbdc7e918322"><div class="ttname"><a href="classproton_1_1connection__options.html#afbabea03db40dee25da7bbdc7e918322">proton::connection_options::sasl_allow_insecure_mechs</a></div><div class="ttdeci">connection_options & sasl_allow_insecure_mechs(bool)</div><div class="ttdoc">Force the enabling of SASL mechanisms that disclose cleartext passwords over the connection.</div></div> |
| <div class="ttc" id="asymbol_8hpp_html"><div class="ttname"><a href="symbol_8hpp.html">symbol.hpp</a></div><div class="ttdoc">A string that represents the AMQP symbol type.</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_abc8a2670fc733415dca0a723f23d0729"><div class="ttname"><a href="classproton_1_1connection__options.html#abc8a2670fc733415dca0a723f23d0729">proton::connection_options::reconnect_url</a></div><div class="ttdeci">connection_options & reconnect_url(const std::string &)</div><div class="ttdoc">Unsettled API - Set reconnect URL.</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_a68a8c198dfa16653afc4a70a2b845604"><div class="ttname"><a href="classproton_1_1connection__options.html#a68a8c198dfa16653afc4a70a2b845604">proton::connection_options::update</a></div><div class="ttdeci">connection_options & update(const connection_options &other)</div><div class="ttdoc">Update option values from values set in other.</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_a78a90a1387cf91915dbe39b888955d75"><div class="ttname"><a href="classproton_1_1connection__options.html#a78a90a1387cf91915dbe39b888955d75">proton::connection_options::password</a></div><div class="ttdeci">connection_options & password(const std::string &)</div><div class="ttdoc">Set the password used to authenticate the connection.</div></div> |
| <div class="ttc" id="aclassproton_1_1container_html"><div class="ttname"><a href="classproton_1_1container.html">proton::container</a></div><div class="ttdoc">A top-level container of connections, sessions, and links.</div><div class="ttdef"><b>Definition:</b> container.hpp:50</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_ad053f0ac823eefd100731c1b5248e7e8"><div class="ttname"><a href="classproton_1_1connection__options.html#ad053f0ac823eefd100731c1b5248e7e8">proton::connection_options::reconnect</a></div><div class="ttdeci">connection_options & reconnect(const reconnect_options &)</div><div class="ttdoc">Unsettled API - Set reconnect timing options.</div></div> |
| <div class="ttc" id="aclassproton_1_1ssl__client__options_html"><div class="ttname"><a href="classproton_1_1ssl__client__options.html">proton::ssl_client_options</a></div><div class="ttdoc">Unsettled API - SSL configuration for outbound connections.</div><div class="ttdef"><b>Definition:</b> ssl.hpp:158</div></div> |
| <div class="ttc" id="afwd_8hpp_html"><div class="ttname"><a href="fwd_8hpp.html">fwd.hpp</a></div><div class="ttdoc">Forward declarations.</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_ad0e93961fd048b2ee5e8bdac2b041686"><div class="ttname"><a href="classproton_1_1connection__options.html#ad0e93961fd048b2ee5e8bdac2b041686">proton::connection_options::max_frame_size</a></div><div class="ttdeci">connection_options & max_frame_size(uint32_t max)</div><div class="ttdoc">Set the maximum frame size. It is unlimited by default.</div></div> |
| <div class="ttc" id="aclassproton_1_1reconnect__options_html"><div class="ttname"><a href="classproton_1_1reconnect__options.html">proton::reconnect_options</a></div><div class="ttdoc">Unsettled API - Options for reconnect and failover after connection loss.</div><div class="ttdef"><b>Definition:</b> reconnect_options.hpp:49</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_a4eb280b5a62adb5b2075d6316a590c70"><div class="ttname"><a href="classproton_1_1connection__options.html#a4eb280b5a62adb5b2075d6316a590c70">proton::connection_options::ssl_client_options</a></div><div class="ttdeci">connection_options & ssl_client_options(const class ssl_client_options &)</div><div class="ttdoc">Set SSL client options.</div></div> |
| <div class="ttc" id="aclassproton_1_1connection_html"><div class="ttname"><a href="classproton_1_1connection.html">proton::connection</a></div><div class="ttdoc">A connection to a remote AMQP peer.</div><div class="ttdef"><b>Definition:</b> connection.hpp:45</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_a4c6429303ccb719d9c585c88f300e007"><div class="ttname"><a href="classproton_1_1connection__options.html#a4c6429303ccb719d9c585c88f300e007">proton::connection_options::container_id</a></div><div class="ttdeci">connection_options & container_id(const std::string &id)</div><div class="ttdoc">Set the container ID.</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html"><div class="ttname"><a href="classproton_1_1connection__options.html">proton::connection_options</a></div><div class="ttdoc">Options for creating a connection.</div><div class="ttdef"><b>Definition:</b> connection_options.hpp:67</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_a2c612e142b60cf61ce50d88582465167"><div class="ttname"><a href="classproton_1_1connection__options.html#a2c612e142b60cf61ce50d88582465167">proton::connection_options::operator=</a></div><div class="ttdeci">connection_options & operator=(const connection_options &)</div><div class="ttdoc">Copy options.</div></div> |
| <div class="ttc" id="aclassproton_1_1duration_html"><div class="ttname"><a href="classproton_1_1duration.html">proton::duration</a></div><div class="ttdoc">A span of time in milliseconds.</div><div class="ttdef"><b>Definition:</b> duration.hpp:39</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_a90933e18af82770dfa522b0e3b356f3e"><div class="ttname"><a href="classproton_1_1connection__options.html#a90933e18af82770dfa522b0e3b356f3e">proton::connection_options::connection_options</a></div><div class="ttdeci">connection_options(class messaging_handler &h)</div><div class="ttdoc">Shorthand for connection_options().handler(h).</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_a10afa48d580025f71f0a6dd31bd1de24"><div class="ttname"><a href="classproton_1_1connection__options.html#a10afa48d580025f71f0a6dd31bd1de24">proton::connection_options::user</a></div><div class="ttdeci">connection_options & user(const std::string &)</div><div class="ttdoc">Set the user name used to authenticate the connection.</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_a0300a2a68ecca3f684e91e637a45e028"><div class="ttname"><a href="classproton_1_1connection__options.html#a0300a2a68ecca3f684e91e637a45e028">proton::connection_options::virtual_host</a></div><div class="ttdeci">connection_options & virtual_host(const std::string &name)</div><div class="ttdoc">Set the virtual host name for the connection.</div></div> |
| <div class="ttc" id="aclassproton_1_1messaging__handler_html"><div class="ttname"><a href="classproton_1_1messaging__handler.html">proton::messaging_handler</a></div><div class="ttdoc">Handler for Proton messaging events.</div><div class="ttdef"><b>Definition:</b> messaging_handler.hpp:69</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_af66706fdb4a2f3f4d9943be9ee4b1347"><div class="ttname"><a href="classproton_1_1connection__options.html#af66706fdb4a2f3f4d9943be9ee4b1347">proton::connection_options::max_sessions</a></div><div class="ttdeci">connection_options & max_sessions(uint16_t max)</div><div class="ttdoc">Set the maximum number of open sessions. The default is 32767.</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_a7c838237bfba8a5a04c2b97e6f023448"><div class="ttname"><a href="classproton_1_1connection__options.html#a7c838237bfba8a5a04c2b97e6f023448">proton::connection_options::idle_timeout</a></div><div class="ttdeci">connection_options & idle_timeout(duration)</div><div class="ttdoc">Set the idle timeout.</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_a37785c499f7e1b0f30dcbe8a0b9458e9"><div class="ttname"><a href="classproton_1_1connection__options.html#a37785c499f7e1b0f30dcbe8a0b9458e9">proton::connection_options::desired_capabilities</a></div><div class="ttdeci">connection_options & desired_capabilities(const std::vector< symbol > &)</div><div class="ttdoc">Unsettled API - Extension capabilities desired from the remote peer.</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_a7bca23aeb3455378ef2d35975758e504"><div class="ttname"><a href="classproton_1_1connection__options.html#a7bca23aeb3455378ef2d35975758e504">proton::connection_options::handler</a></div><div class="ttdeci">connection_options & handler(class messaging_handler &)</div><div class="ttdoc">Set a connection handler.</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_aa946cf564c3b226b0172b3b78f59928a"><div class="ttname"><a href="classproton_1_1connection__options.html#aa946cf564c3b226b0172b3b78f59928a">proton::connection_options::connection_options</a></div><div class="ttdeci">connection_options(const connection_options &)</div><div class="ttdoc">Copy options.</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_a0fc40d55673b5c89e4b5a13c630edca5"><div class="ttname"><a href="classproton_1_1connection__options.html#a0fc40d55673b5c89e4b5a13c630edca5">proton::connection_options::sasl_config_path</a></div><div class="ttdeci">connection_options & sasl_config_path(const std::string &)</div><div class="ttdoc">Unsettled API - Set the SASL configuration path.</div></div> |
| <div class="ttc" id="anamespaceproton_html"><div class="ttname"><a href="namespaceproton.html">proton</a></div><div class="ttdoc">The main Proton namespace.</div><div class="ttdef"><b>Definition:</b> annotation_key.hpp:33</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_a5ce3c4591be545f5ae67f22ef64fb9ef"><div class="ttname"><a href="classproton_1_1connection__options.html#a5ce3c4591be545f5ae67f22ef64fb9ef">proton::connection_options::ssl_server_options</a></div><div class="ttdeci">connection_options & ssl_server_options(const class ssl_server_options &)</div><div class="ttdoc">Set SSL server options.</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_a52f0724b86920647ef8624922aa54ab6"><div class="ttname"><a href="classproton_1_1connection__options.html#a52f0724b86920647ef8624922aa54ab6">proton::connection_options::sasl_allowed_mechs</a></div><div class="ttdeci">connection_options & sasl_allowed_mechs(const std::string &)</div><div class="ttdoc">Specify the SASL mechanisms allowed for this connection.</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_a8034b8d17ca30a4cfc3db8c6a898dc4d"><div class="ttname"><a href="classproton_1_1connection__options.html#a8034b8d17ca30a4cfc3db8c6a898dc4d">proton::connection_options::connection_options</a></div><div class="ttdeci">connection_options()</div><div class="ttdoc">Create an empty set of options.</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_af49134c3e2ac611a4dbf37fb85f2f9e9"><div class="ttname"><a href="classproton_1_1connection__options.html#af49134c3e2ac611a4dbf37fb85f2f9e9">proton::connection_options::offered_capabilities</a></div><div class="ttdeci">connection_options & offered_capabilities(const std::vector< symbol > &)</div><div class="ttdoc">Unsettled API - Extension capabilities offered to the remote peer.</div></div> |
| <div class="ttc" id="aclassproton_1_1ssl__server__options_html"><div class="ttname"><a href="classproton_1_1ssl__server__options.html">proton::ssl_server_options</a></div><div class="ttdoc">Unsettled API - SSL configuration for inbound connections.</div><div class="ttdef"><b>Definition:</b> ssl.hpp:128</div></div> |
| <div class="ttc" id="aduration_8hpp_html"><div class="ttname"><a href="duration_8hpp.html">duration.hpp</a></div><div class="ttdoc">A span of time in milliseconds.</div></div> |
| <div class="ttc" id="atypes__fwd_8hpp_html"><div class="ttname"><a href="types__fwd_8hpp.html">types_fwd.hpp</a></div><div class="ttdoc">Forward declarations for Proton types used to represent AMQP types.</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_ad8e93a44cab5e65949046fb036c237a6"><div class="ttname"><a href="classproton_1_1connection__options.html#ad8e93a44cab5e65949046fb036c237a6">proton::connection_options::sasl_config_name</a></div><div class="ttdeci">connection_options & sasl_config_name(const std::string &)</div><div class="ttdoc">Unsettled API - Set the SASL configuration name.</div></div> |
| <div class="ttc" id="aclassproton_1_1connection__options_html_abcfa30511c5b02318105ff214ea6eab7"><div class="ttname"><a href="classproton_1_1connection__options.html#abcfa30511c5b02318105ff214ea6eab7">proton::connection_options::failover_urls</a></div><div class="ttdeci">connection_options & failover_urls(const std::vector< std::string > &)</div><div class="ttdoc">Unsettled API - Set Fail-over URLs.</div></div> |
| <!-- start footer part --> |
| <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| <ul> |
| <li class="navelem"><a class="el" href="dir_3a71568e5d046e5ed52679664c3002a5.html">proton</a></li><li class="navelem"><a class="el" href="connection__options_8hpp.html">connection_options.hpp</a></li> |
| <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li> |
| </ul> |
| </div> |
| </body> |
| </html> |