blob: 7ac7f96e2a3c24f6fe6c0464355a51357198b44f [file] [log] [blame]
<!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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>&nbsp; Apache Ignite C++: ignite_client_configuration.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="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>
<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="projectlogo"><img alt="Logo" src="ignite_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">&nbsp; Apache Ignite C++
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- 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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_6917c354dff0dc051d18bd3bcc3faea1.html">include</a></li><li class="navelem"><a class="el" href="dir_3785354546cb37560a212b468c73f89f.html">ignite</a></li><li class="navelem"><a class="el" href="dir_097f68cb7241bfc683e7bdc6c58a7783.html">thin</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">ignite_client_configuration.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="ignite__client__configuration_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>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * this work for additional information regarding copyright ownership.</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * (the &quot;License&quot;); you may not use this file except in compliance with</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * the License. You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * See the License for the specific language governing permissions and</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * limitations under the License.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#ifndef _IGNITE_THIN_IGNITE_CLIENT_CONFIGURATION</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#define _IGNITE_THIN_IGNITE_CLIENT_CONFIGURATION</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="ssl__mode_8h.html">ignite/thin/ssl_mode.h</a>&gt;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceignite.html">ignite</a></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;{</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="keyword">namespace </span>thin</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; {</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html"> 39</a></span>&#160; <span class="keyword">class </span><a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html">IgniteClientConfiguration</a></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; {</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a65fedd44769a44fa94d68f15fb9168ce"> 47</a></span>&#160; <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a65fedd44769a44fa94d68f15fb9168ce">IgniteClientConfiguration</a>() :</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; sslMode(<a class="code" href="structignite_1_1thin_1_1SslMode.html">SslMode</a>::DISABLE),</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; partitionAwareness(true),</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; connectionsLimit(0)</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; {</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="comment">// No-op.</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; }</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a9a1c17fe01990a4dd1449aba41d3638c"> 60</a></span>&#160; <span class="keyword">const</span> std::string&amp; <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a9a1c17fe01990a4dd1449aba41d3638c">GetEndPoints</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keywordflow">return</span> endPoints;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; }</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a57dbf8199cd60518c80dd95b0dead9e8"> 75</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a57dbf8199cd60518c80dd95b0dead9e8">SetEndPoints</a>(<span class="keyword">const</span> std::string&amp; endPoints)</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; {</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; this-&gt;endPoints = endPoints;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; }</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#adad70af902bc62cecbb4577af87e087d"> 85</a></span>&#160; <span class="keyword">const</span> std::string&amp; <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#adad70af902bc62cecbb4577af87e087d">GetUser</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keywordflow">return</span> user;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; }</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a2699b733dec083ad203827237da76cbe"> 95</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a2699b733dec083ad203827237da76cbe">SetUser</a>(<span class="keyword">const</span> std::string&amp; user)</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; {</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; this-&gt;user = user;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; }</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; </div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#ac5efa32c35ad40a309e4a0e7f6e85236"> 105</a></span>&#160; <span class="keyword">const</span> std::string&amp; <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#ac5efa32c35ad40a309e4a0e7f6e85236">GetPassword</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <span class="keywordflow">return</span> password;</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; }</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#abcb462bcae7e29f81d6ee9ff71e1321d"> 115</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#abcb462bcae7e29f81d6ee9ff71e1321d">SetPassword</a>(<span class="keyword">const</span> std::string&amp; password)</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; {</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; this-&gt;password = password;</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; }</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; </div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a014e63a9023de64e99fe70166382ae1b"> 127</a></span>&#160; <a class="code" href="structignite_1_1thin_1_1SslMode.html#ad952e796d54c3c7e4ff72ce84762af8a">SslMode::Type</a> <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a014e63a9023de64e99fe70166382ae1b">GetSslMode</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keywordflow">return</span> sslMode;</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; }</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; </div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a254e0351a4430280c81ee7cb1ad324e3"> 139</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a254e0351a4430280c81ee7cb1ad324e3">SetSslMode</a>(<a class="code" href="structignite_1_1thin_1_1SslMode.html#ad952e796d54c3c7e4ff72ce84762af8a">SslMode::Type</a> sslMode)</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; {</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; this-&gt;sslMode = sslMode;</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; }</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; </div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#ae1526edc00777c7afc4ba8fc3780cc3c"> 149</a></span>&#160; <span class="keyword">const</span> std::string&amp; <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#ae1526edc00777c7afc4ba8fc3780cc3c">GetSslCertFile</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="keywordflow">return</span> sslCertFile;</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; }</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; </div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a41b693eb6303d4617bc338b6afa77318"> 159</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a41b693eb6303d4617bc338b6afa77318">SetSslCertFile</a>(<span class="keyword">const</span> std::string&amp; sslCertFile)</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; {</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; this-&gt;sslCertFile = sslCertFile;</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; }</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a9695bedbd91dc4037c26d940afe68955"> 169</a></span>&#160; <span class="keyword">const</span> std::string&amp; <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a9695bedbd91dc4037c26d940afe68955">GetSslKeyFile</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="keywordflow">return</span> sslKeyFile;</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; }</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; </div>
<div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#aa21d7538c5aebb18be6593eb629dc464"> 179</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#aa21d7538c5aebb18be6593eb629dc464">SetSslKeyFile</a>(<span class="keyword">const</span> std::string&amp; sslKeyFile)</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; {</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; this-&gt;sslKeyFile = sslKeyFile;</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; }</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; </div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#afb019c91d487e7eb9719ec192b7404ff"> 190</a></span>&#160; <span class="keyword">const</span> std::string&amp; <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#afb019c91d487e7eb9719ec192b7404ff">GetSslCaFile</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="keywordflow">return</span> sslCaFile;</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; }</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; </div>
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#aaac36e365275decb20dc8767c3587cb5"> 201</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#aaac36e365275decb20dc8767c3587cb5">SetSslCaFile</a>(<span class="keyword">const</span> std::string&amp; sslCaFile)</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; {</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; this-&gt;sslCaFile = sslCaFile;</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; }</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; </div>
<div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a9b85835768eae4e4c507016f8e92ca9f"> 217</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a9b85835768eae4e4c507016f8e92ca9f">SetPartitionAwareness</a>(<span class="keywordtype">bool</span> enable)</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; {</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; partitionAwareness = enable;</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; }</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; </div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a645466ec426bb804250d3bc08eb24bc3"> 229</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a645466ec426bb804250d3bc08eb24bc3">IsPartitionAwareness</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <span class="keywordflow">return</span> partitionAwareness;</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; }</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; </div>
<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a78a04ebef44b9a7b014887b11bdb9147"> 248</a></span>&#160; uint32_t <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a78a04ebef44b9a7b014887b11bdb9147">GetConnectionsLimit</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <span class="keywordflow">return</span> connectionsLimit;</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; }</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; </div>
<div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a28288d387e4126c09f09d9eec46baa2e"> 260</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a28288d387e4126c09f09d9eec46baa2e">SetConnectionsLimit</a>(uint32_t limit)</div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; {</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; connectionsLimit = limit;</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; }</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; </div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; std::string endPoints;</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; </div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; std::string user;</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; </div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; std::string password;</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; </div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; <a class="code" href="structignite_1_1thin_1_1SslMode.html#ad952e796d54c3c7e4ff72ce84762af8a">SslMode::Type</a> sslMode;</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; </div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; std::string sslCertFile;</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; </div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; std::string sslKeyFile;</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; </div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; std::string sslCaFile;</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; </div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; <span class="keywordtype">bool</span> partitionAwareness;</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; </div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; uint32_t connectionsLimit;</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; };</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; }</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160;}</div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160;<span class="preprocessor">#endif // _IGNITE_THIN_IGNITE_CLIENT_CONFIGURATION</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_a28288d387e4126c09f09d9eec46baa2e"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a28288d387e4126c09f09d9eec46baa2e">ignite::thin::IgniteClientConfiguration::SetConnectionsLimit</a></div><div class="ttdeci">void SetConnectionsLimit(uint32_t limit)</div><div class="ttdoc">Set connection limit.</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:260</div></div>
<div class="ttc" id="anamespaceignite_html"><div class="ttname"><a href="namespaceignite.html">ignite</a></div><div class="ttdoc">Apache Ignite API.</div><div class="ttdef"><b>Definition:</b> cache.h:48</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_a9a1c17fe01990a4dd1449aba41d3638c"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a9a1c17fe01990a4dd1449aba41d3638c">ignite::thin::IgniteClientConfiguration::GetEndPoints</a></div><div class="ttdeci">const std::string &amp; GetEndPoints() const</div><div class="ttdoc">Get server end points.</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:60</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_afb019c91d487e7eb9719ec192b7404ff"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#afb019c91d487e7eb9719ec192b7404ff">ignite::thin::IgniteClientConfiguration::GetSslCaFile</a></div><div class="ttdeci">const std::string &amp; GetSslCaFile() const</div><div class="ttdoc">Get file path to SSL certificate authority to authenticate server certificate during connection estab...</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:190</div></div>
<div class="ttc" id="astructignite_1_1thin_1_1SslMode_html"><div class="ttname"><a href="structignite_1_1thin_1_1SslMode.html">ignite::thin::SslMode</a></div><div class="ttdoc">SSL Mode.</div><div class="ttdef"><b>Definition:</b> ssl_mode.h:31</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_a78a04ebef44b9a7b014887b11bdb9147"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a78a04ebef44b9a7b014887b11bdb9147">ignite::thin::IgniteClientConfiguration::GetConnectionsLimit</a></div><div class="ttdeci">uint32_t GetConnectionsLimit() const</div><div class="ttdoc">Get connection limit.</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:248</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_a57dbf8199cd60518c80dd95b0dead9e8"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a57dbf8199cd60518c80dd95b0dead9e8">ignite::thin::IgniteClientConfiguration::SetEndPoints</a></div><div class="ttdeci">void SetEndPoints(const std::string &amp;endPoints)</div><div class="ttdoc">Set addresses of the remote servers to connect.</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:75</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_ae1526edc00777c7afc4ba8fc3780cc3c"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#ae1526edc00777c7afc4ba8fc3780cc3c">ignite::thin::IgniteClientConfiguration::GetSslCertFile</a></div><div class="ttdeci">const std::string &amp; GetSslCertFile() const</div><div class="ttdoc">Get file path to SSL certificate to use during connection establishment.</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:149</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_a2699b733dec083ad203827237da76cbe"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a2699b733dec083ad203827237da76cbe">ignite::thin::IgniteClientConfiguration::SetUser</a></div><div class="ttdeci">void SetUser(const std::string &amp;user)</div><div class="ttdoc">Set user name to use for the authentication.</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:95</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_abcb462bcae7e29f81d6ee9ff71e1321d"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#abcb462bcae7e29f81d6ee9ff71e1321d">ignite::thin::IgniteClientConfiguration::SetPassword</a></div><div class="ttdeci">void SetPassword(const std::string &amp;password)</div><div class="ttdoc">Set password to use for the authentication.</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:115</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_a254e0351a4430280c81ee7cb1ad324e3"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a254e0351a4430280c81ee7cb1ad324e3">ignite::thin::IgniteClientConfiguration::SetSslMode</a></div><div class="ttdeci">void SetSslMode(SslMode::Type sslMode)</div><div class="ttdoc">Set SSL mode.</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:139</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_a9695bedbd91dc4037c26d940afe68955"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a9695bedbd91dc4037c26d940afe68955">ignite::thin::IgniteClientConfiguration::GetSslKeyFile</a></div><div class="ttdeci">const std::string &amp; GetSslKeyFile() const</div><div class="ttdoc">Get file path to SSL private key to use during connection establishment.</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:169</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_adad70af902bc62cecbb4577af87e087d"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#adad70af902bc62cecbb4577af87e087d">ignite::thin::IgniteClientConfiguration::GetUser</a></div><div class="ttdeci">const std::string &amp; GetUser() const</div><div class="ttdoc">Get user name used for the authentication.</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:85</div></div>
<div class="ttc" id="astructignite_1_1thin_1_1SslMode_html_ad952e796d54c3c7e4ff72ce84762af8a"><div class="ttname"><a href="structignite_1_1thin_1_1SslMode.html#ad952e796d54c3c7e4ff72ce84762af8a">ignite::thin::SslMode::Type</a></div><div class="ttdeci">Type</div><div class="ttdef"><b>Definition:</b> ssl_mode.h:33</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_a65fedd44769a44fa94d68f15fb9168ce"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a65fedd44769a44fa94d68f15fb9168ce">ignite::thin::IgniteClientConfiguration::IgniteClientConfiguration</a></div><div class="ttdeci">IgniteClientConfiguration()</div><div class="ttdoc">Default constructor.</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:47</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_aaac36e365275decb20dc8767c3587cb5"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#aaac36e365275decb20dc8767c3587cb5">ignite::thin::IgniteClientConfiguration::SetSslCaFile</a></div><div class="ttdeci">void SetSslCaFile(const std::string &amp;sslCaFile)</div><div class="ttdoc">Set file path to SSL certificate authority to authenticate server certificate during connection estab...</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:201</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_aa21d7538c5aebb18be6593eb629dc464"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#aa21d7538c5aebb18be6593eb629dc464">ignite::thin::IgniteClientConfiguration::SetSslKeyFile</a></div><div class="ttdeci">void SetSslKeyFile(const std::string &amp;sslKeyFile)</div><div class="ttdoc">Set file path to SSL private key to use during connection establishment.</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:179</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_a645466ec426bb804250d3bc08eb24bc3"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a645466ec426bb804250d3bc08eb24bc3">ignite::thin::IgniteClientConfiguration::IsPartitionAwareness</a></div><div class="ttdeci">bool IsPartitionAwareness() const</div><div class="ttdoc">Get Partition Awareness flag.</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:229</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_ac5efa32c35ad40a309e4a0e7f6e85236"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#ac5efa32c35ad40a309e4a0e7f6e85236">ignite::thin::IgniteClientConfiguration::GetPassword</a></div><div class="ttdeci">const std::string &amp; GetPassword() const</div><div class="ttdoc">Get password used for the authentication.</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:105</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_a014e63a9023de64e99fe70166382ae1b"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a014e63a9023de64e99fe70166382ae1b">ignite::thin::IgniteClientConfiguration::GetSslMode</a></div><div class="ttdeci">SslMode::Type GetSslMode() const</div><div class="ttdoc">Get SSL mode.</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:127</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html">ignite::thin::IgniteClientConfiguration</a></div><div class="ttdoc">Ignite thin client configuration.</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:39</div></div>
<div class="ttc" id="assl__mode_8h_html"><div class="ttname"><a href="ssl__mode_8h.html">ssl_mode.h</a></div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_a41b693eb6303d4617bc338b6afa77318"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a41b693eb6303d4617bc338b6afa77318">ignite::thin::IgniteClientConfiguration::SetSslCertFile</a></div><div class="ttdeci">void SetSslCertFile(const std::string &amp;sslCertFile)</div><div class="ttdoc">Set file path to SSL certificate to use during connection establishment.</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:159</div></div>
<div class="ttc" id="aclassignite_1_1thin_1_1IgniteClientConfiguration_html_a9b85835768eae4e4c507016f8e92ca9f"><div class="ttname"><a href="classignite_1_1thin_1_1IgniteClientConfiguration.html#a9b85835768eae4e4c507016f8e92ca9f">ignite::thin::IgniteClientConfiguration::SetPartitionAwareness</a></div><div class="ttdeci">void SetPartitionAwareness(bool enable)</div><div class="ttdoc">Set Partition Awareness.</div><div class="ttdef"><b>Definition:</b> ignite_client_configuration.h:217</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jan 10 2022 11:02:04 for &nbsp; Apache Ignite C++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>