123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226 |
- <!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>GRPC C++: include/grpcpp/channel.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="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">GRPC C++
-  <span id="projectnumber">1.36.1</span>
- </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&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&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_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_412f9a3d5dfcba8716486cd870ef4586.html">grpcpp</a></li> </ul>
- </div>
- </div><!-- top -->
- <div class="header">
- <div class="headertitle">
- <div class="title">channel.h</div> </div>
- </div><!--header-->
- <div class="contents">
- <a href="grpcpp_2channel_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="comment">/*</span></div>
- <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> *</span></div>
- <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright 2015 gRPC authors.</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 under the Apache License, Version 2.0 (the "License");</span></div>
- <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * you may not use this file except in compliance with the License.</span></div>
- <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * You may obtain a copy of the License at</span></div>
- <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> *</span></div>
- <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <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> <span class="comment"> *</span></div>
- <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <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> <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div>
- <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <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> <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> <span class="comment"> * limitations under the License.</span></div>
- <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> *</span></div>
- <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> */</span></div>
- <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
- <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#ifndef GRPCPP_CHANNEL_H</span></div>
- <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#define GRPCPP_CHANNEL_H</span></div>
- <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
- <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <memory></span></div>
- <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div>
- <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <<a class="code" href="grpc_8h.html">grpc/grpc.h</a>></span></div>
- <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="grpcpp_2impl_2call_8h.html">grpcpp/impl/call.h</a>></span></div>
- <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="grpcpp_2impl_2codegen_2channel__interface_8h.html">grpcpp/impl/codegen/channel_interface.h</a>></span></div>
- <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <<a class="code" href="impl_2codegen_2client__interceptor_8h.html">grpcpp/impl/codegen/client_interceptor.h</a>></span></div>
- <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <<a class="code" href="grpcpp_2impl_2codegen_2completion__queue_8h.html">grpcpp/impl/codegen/completion_queue.h</a>></span></div>
- <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <<a class="code" href="grpcpp_2impl_2codegen_2config_8h.html">grpcpp/impl/codegen/config.h</a>></span></div>
- <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include <<a class="code" href="grpcpp_2impl_2codegen_2grpc__library_8h.html">grpcpp/impl/codegen/grpc_library.h</a>></span></div>
- <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include <<a class="code" href="p_2impl_2codegen_2sync_8h.html">grpcpp/impl/codegen/sync.h</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="keyword">struct </span><a class="code" href="grpc__types_8h.html#a432bfa6b9f6603643cdf9de8804c254e">grpc_channel</a>;</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="keyword">namespace </span><a class="code" href="namespacegrpc.html">grpc</a> {</div>
- <div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="namespacegrpc_1_1testing.html"> 36</a></span> <span class="keyword">namespace </span>testing {</div>
- <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">class </span>ChannelTestPeer;</div>
- <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> } <span class="comment">// namespace testing</span></div>
- <div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
- <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> std::shared_ptr<Channel> <a class="code" href="namespacegrpc.html#ac987f6d57104a5491cd4500aa804b509">CreateChannelInternal</a>(</div>
- <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">const</span> std::string& host, <a class="code" href="grpc__types_8h.html#a432bfa6b9f6603643cdf9de8804c254e">grpc_channel</a>* c_channel,</div>
- <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  std::vector<</div>
- <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  std::unique_ptr<experimental::ClientInterceptorFactoryInterface>></div>
- <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  interceptor_creators);</div>
- <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
- <div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="namespacegrpc_1_1experimental.html"> 46</a></span> <span class="keyword">namespace </span>experimental {</div>
- <div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keywordtype">void</span> <a class="code" href="namespacegrpc_1_1experimental.html#ab4c7e40417b37179d52667f3208f69a3">ChannelResetConnectionBackoff</a>(<a class="code" href="classgrpc_1_1_channel.html">Channel</a>* channel);</div>
- <div class="line"><a name="l00051"></a><span class="lineno"> 51</span> } <span class="comment">// namespace experimental</span></div>
- <div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
- <div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classgrpc_1_1_channel.html"> 54</a></span> <span class="keyword">class </span><a class="code" href="classgrpc_1_1_channel.html">Channel</a> final : <span class="keyword">public</span> <a class="code" href="classgrpc_1_1_channel_interface.html">::grpc::ChannelInterface</a>,</div>
- <div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">public</span> <a class="code" href="classgrpc_1_1internal_1_1_call_hook.html">::grpc::internal::CallHook</a>,</div>
- <div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">public</span> std::enable_shared_from_this<Channel>,</div>
- <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keyword">private</span> <a class="code" href="classgrpc_1_1_grpc_library_codegen.html">::grpc::GrpcLibraryCodegen</a> {</div>
- <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keyword">public</span>:</div>
- <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="classgrpc_1_1_channel.html#a5b8c44204ae5af1b44ce7a8f2a8a59cf">~Channel</a>() <span class="keyword">override</span>;</div>
- <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  </div>
- <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <a class="code" href="connectivity__state_8h.html#a065b65f5cdd062a67d82e2b6bcf68cf2">grpc_connectivity_state</a> <a class="code" href="classgrpc_1_1_channel.html#a646d7a9d01f22037a72092d3a0bf159c">GetState</a>(<span class="keywordtype">bool</span> try_to_connect) <span class="keyword">override</span>;</div>
- <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
- <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  std::string <a class="code" href="classgrpc_1_1_channel.html#a4eb175406fb5be09e448dfbf186e662e">GetLoadBalancingPolicyName</a>() <span class="keyword">const</span>;</div>
- <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  </div>
- <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  std::string <a class="code" href="classgrpc_1_1_channel.html#a89c73b41c78e75f259fd529704e2f13a">GetServiceConfigJSON</a>() <span class="keyword">const</span>;</div>
- <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div>
- <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keyword">private</span>:</div>
- <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">template</span> <<span class="keyword">class</span> InputMessage, <span class="keyword">class</span> OutputMessage></div>
- <div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classgrpc_1_1_channel.html#ad26a823fee699f97244d581f400fe39a"> 74</a></span>  <span class="keyword">friend</span> class ::grpc::internal::BlockingUnaryCallImpl;</div>
- <div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classgrpc_1_1_channel.html#aff72cbe60223459c55fb667b78a6dd14"> 75</a></span>  <span class="keyword">friend</span> class ::grpc::testing::ChannelTestPeer;</div>
- <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keyword">friend</span> <span class="keywordtype">void</span> <a class="code" href="namespacegrpc_1_1experimental.html#ab4c7e40417b37179d52667f3208f69a3">experimental::ChannelResetConnectionBackoff</a>(<a class="code" href="classgrpc_1_1_channel.html">Channel</a>* channel);</div>
- <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keyword">friend</span> std::shared_ptr<Channel> <a class="code" href="namespacegrpc.html#ac987f6d57104a5491cd4500aa804b509">grpc::CreateChannelInternal</a>(</div>
- <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">const</span> std::string& host, <a class="code" href="grpc__types_8h.html#a432bfa6b9f6603643cdf9de8804c254e">grpc_channel</a>* c_channel,</div>
- <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  std::vector<std::unique_ptr<</div>
- <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  ::<a class="code" href="classgrpc_1_1experimental_1_1_client_interceptor_factory_interface.html">grpc::experimental::ClientInterceptorFactoryInterface</a>>></div>
- <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  interceptor_creators);</div>
- <div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classgrpc_1_1_channel.html#a9a23a8cfcee9fd9658ecd8bb1a3193ac"> 82</a></span>  <span class="keyword">friend</span> class ::grpc::internal::InterceptedChannel;</div>
- <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <a class="code" href="classgrpc_1_1_channel.html">Channel</a>(<span class="keyword">const</span> std::string& host, <a class="code" href="grpc__types_8h.html#a432bfa6b9f6603643cdf9de8804c254e">grpc_channel</a>* c_channel,</div>
- <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  std::vector<std::unique_ptr<</div>
- <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  ::<a class="code" href="classgrpc_1_1experimental_1_1_client_interceptor_factory_interface.html">grpc::experimental::ClientInterceptorFactoryInterface</a>>></div>
- <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  interceptor_creators);</div>
- <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  </div>
- <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="classgrpc_1_1internal_1_1_call.html">::grpc::internal::Call</a> CreateCall(const ::grpc::internal::RpcMethod& method,</div>
- <div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  ::<a class="code" href="classgrpc_1_1_client_context.html">grpc::ClientContext</a>* context,</div>
- <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  ::<a class="code" href="classgrpc_1_1_completion_queue.html">grpc::CompletionQueue</a>* cq) <span class="keyword">override</span>;</div>
- <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordtype">void</span> PerformOpsOnCall(::<a class="code" href="classgrpc_1_1internal_1_1_call_op_set_interface.html">grpc::internal::CallOpSetInterface</a>* ops,</div>
- <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  ::<a class="code" href="classgrpc_1_1internal_1_1_call.html">grpc::internal::Call</a>* call) <span class="keyword">override</span>;</div>
- <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordtype">void</span>* RegisterMethod(<span class="keyword">const</span> <span class="keywordtype">char</span>* method) <span class="keyword">override</span>;</div>
- <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  </div>
- <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordtype">void</span> NotifyOnStateChangeImpl(<a class="code" href="connectivity__state_8h.html#a065b65f5cdd062a67d82e2b6bcf68cf2">grpc_connectivity_state</a> last_observed,</div>
- <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <a class="code" href="structgpr__timespec.html">gpr_timespec</a> deadline,</div>
- <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  ::<a class="code" href="classgrpc_1_1_completion_queue.html">grpc::CompletionQueue</a>* cq, <span class="keywordtype">void</span>* tag) <span class="keyword">override</span>;</div>
- <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordtype">bool</span> WaitForStateChangeImpl(<a class="code" href="connectivity__state_8h.html#a065b65f5cdd062a67d82e2b6bcf68cf2">grpc_connectivity_state</a> last_observed,</div>
- <div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="code" href="structgpr__timespec.html">gpr_timespec</a> deadline) <span class="keyword">override</span>;</div>
- <div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  </div>
- <div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <a class="code" href="classgrpc_1_1_completion_queue.html">::grpc::CompletionQueue</a>* CallbackCQ() <span class="keyword">override</span>;</div>
- <div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  </div>
- <div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <a class="code" href="classgrpc_1_1internal_1_1_call.html">::grpc::internal::Call</a> CreateCallInternal(</div>
- <div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  const ::grpc::internal::RpcMethod& method, ::<a class="code" href="classgrpc_1_1_client_context.html">grpc::ClientContext</a>* context,</div>
- <div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  ::<a class="code" href="classgrpc_1_1_completion_queue.html">grpc::CompletionQueue</a>* cq, <span class="keywordtype">size_t</span> interceptor_pos) <span class="keyword">override</span>;</div>
- <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  </div>
- <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keyword">const</span> std::string host_;</div>
- <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <a class="code" href="grpc__types_8h.html#a432bfa6b9f6603643cdf9de8804c254e">grpc_channel</a>* <span class="keyword">const</span> c_channel_; <span class="comment">// owned</span></div>
- <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div>
- <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="comment">// mu_ protects callback_cq_ (the per-channel callbackable completion queue)</span></div>
- <div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="classgrpc_1_1internal_1_1_mutex.html">grpc::internal::Mutex</a> mu_;</div>
- <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  </div>
- <div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="comment">// callback_cq_ references the callbackable completion queue associated</span></div>
- <div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="comment">// with this channel (if any). It is set on the first call to CallbackCQ().</span></div>
- <div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="comment">// It is _not owned_ by the channel; ownership belongs with its internal</span></div>
- <div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="comment">// shutdown callback tag (invoked when the CQ is fully shutdown).</span></div>
- <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="classgrpc_1_1_completion_queue.html">::grpc::CompletionQueue</a>* callback_cq_ = <span class="keyword">nullptr</span>;</div>
- <div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  </div>
- <div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  std::vector<</div>
- <div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  std::unique_ptr<::grpc::experimental::ClientInterceptorFactoryInterface>></div>
- <div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  interceptor_creators_;</div>
- <div class="line"><a name="l00122"></a><span class="lineno"> 122</span> };</div>
- <div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  </div>
- <div class="line"><a name="l00124"></a><span class="lineno"> 124</span> } <span class="comment">// namespace grpc</span></div>
- <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  </div>
- <div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="preprocessor">#endif // GRPCPP_CHANNEL_H</span></div>
- </div><!-- fragment --></div><!-- contents -->
- <div class="ttc" id="aclassgrpc_1_1_grpc_library_codegen_html"><div class="ttname"><a href="classgrpc_1_1_grpc_library_codegen.html">grpc::GrpcLibraryCodegen</a></div><div class="ttdoc">Classes that require gRPC to be initialized should inherit from this class.</div><div class="ttdef"><b>Definition:</b> grpc_library.h:38</div></div>
- <div class="ttc" id="anamespacegrpc_html_ac987f6d57104a5491cd4500aa804b509"><div class="ttname"><a href="namespacegrpc.html#ac987f6d57104a5491cd4500aa804b509">grpc::CreateChannelInternal</a></div><div class="ttdeci">std::shared_ptr< Channel > CreateChannelInternal(const std::string &host, grpc_channel *c_channel, std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> interceptor_creators)</div></div>
- <div class="ttc" id="anamespacegrpc_1_1experimental_html_ab4c7e40417b37179d52667f3208f69a3"><div class="ttname"><a href="namespacegrpc_1_1experimental.html#ab4c7e40417b37179d52667f3208f69a3">grpc::experimental::ChannelResetConnectionBackoff</a></div><div class="ttdeci">void ChannelResetConnectionBackoff(Channel *channel)</div><div class="ttdoc">Resets the channel's connection backoff.</div></div>
- <div class="ttc" id="anamespacegrpc_html"><div class="ttname"><a href="namespacegrpc.html">grpc</a></div><div class="ttdoc">An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...</div><div class="ttdef"><b>Definition:</b> alarm.h:33</div></div>
- <div class="ttc" id="aclassgrpc_1_1internal_1_1_call_hook_html"><div class="ttname"><a href="classgrpc_1_1internal_1_1_call_hook.html">grpc::internal::CallHook</a></div><div class="ttdoc">This is an interface that Channel and Server implement to allow them to hook performing ops.</div><div class="ttdef"><b>Definition:</b> call_hook.h:30</div></div>
- <div class="ttc" id="agrpcpp_2impl_2codegen_2config_8h_html"><div class="ttname"><a href="grpcpp_2impl_2codegen_2config_8h.html">config.h</a></div></div>
- <div class="ttc" id="aclassgrpc_1_1internal_1_1_call_html"><div class="ttname"><a href="classgrpc_1_1internal_1_1_call.html">grpc::internal::Call</a></div><div class="ttdoc">Straightforward wrapping of the C call object.</div><div class="ttdef"><b>Definition:</b> call.h:35</div></div>
- <div class="ttc" id="aclassgrpc_1_1_channel_html_a89c73b41c78e75f259fd529704e2f13a"><div class="ttname"><a href="classgrpc_1_1_channel.html#a89c73b41c78e75f259fd529704e2f13a">grpc::Channel::GetServiceConfigJSON</a></div><div class="ttdeci">std::string GetServiceConfigJSON() const</div><div class="ttdoc">Returns the service config in JSON form, or the empty string if not available.</div></div>
- <div class="ttc" id="aclassgrpc_1_1_client_context_html"><div class="ttname"><a href="classgrpc_1_1_client_context.html">grpc::ClientContext</a></div><div class="ttdoc">A ClientContext allows the person implementing a service client to:</div><div class="ttdef"><b>Definition:</b> client_context.h:192</div></div>
- <div class="ttc" id="aconnectivity__state_8h_html_a065b65f5cdd062a67d82e2b6bcf68cf2"><div class="ttname"><a href="connectivity__state_8h.html#a065b65f5cdd062a67d82e2b6bcf68cf2">grpc_connectivity_state</a></div><div class="ttdeci">grpc_connectivity_state</div><div class="ttdoc">Connectivity state of a channel.</div><div class="ttdef"><b>Definition:</b> connectivity_state.h:27</div></div>
- <div class="ttc" id="agrpc_8h_html"><div class="ttname"><a href="grpc_8h.html">grpc.h</a></div></div>
- <div class="ttc" id="aclassgrpc_1_1internal_1_1_call_op_set_interface_html"><div class="ttname"><a href="classgrpc_1_1internal_1_1_call_op_set_interface.html">grpc::internal::CallOpSetInterface</a></div><div class="ttdoc">An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the l...</div><div class="ttdef"><b>Definition:</b> call_op_set_interface.h:34</div></div>
- <div class="ttc" id="aclassgrpc_1_1_channel_interface_html"><div class="ttname"><a href="classgrpc_1_1_channel_interface.html">grpc::ChannelInterface</a></div><div class="ttdoc">Codegen interface for grpc::Channel.</div><div class="ttdef"><b>Definition:</b> channel_interface.h:71</div></div>
- <div class="ttc" id="ap_2impl_2codegen_2sync_8h_html"><div class="ttname"><a href="p_2impl_2codegen_2sync_8h.html">sync.h</a></div></div>
- <div class="ttc" id="aimpl_2codegen_2client__interceptor_8h_html"><div class="ttname"><a href="impl_2codegen_2client__interceptor_8h.html">client_interceptor.h</a></div></div>
- <div class="ttc" id="agrpcpp_2impl_2codegen_2grpc__library_8h_html"><div class="ttname"><a href="grpcpp_2impl_2codegen_2grpc__library_8h.html">grpc_library.h</a></div></div>
- <div class="ttc" id="agrpcpp_2impl_2codegen_2channel__interface_8h_html"><div class="ttname"><a href="grpcpp_2impl_2codegen_2channel__interface_8h.html">channel_interface.h</a></div></div>
- <div class="ttc" id="aclassgrpc_1_1experimental_1_1_client_interceptor_factory_interface_html"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_client_interceptor_factory_interface.html">grpc::experimental::ClientInterceptorFactoryInterface</a></div><div class="ttdef"><b>Definition:</b> client_interceptor.h:46</div></div>
- <div class="ttc" id="agrpcpp_2impl_2call_8h_html"><div class="ttname"><a href="grpcpp_2impl_2call_8h.html">call.h</a></div></div>
- <div class="ttc" id="aclassgrpc_1_1_channel_html_a5b8c44204ae5af1b44ce7a8f2a8a59cf"><div class="ttname"><a href="classgrpc_1_1_channel.html#a5b8c44204ae5af1b44ce7a8f2a8a59cf">grpc::Channel::~Channel</a></div><div class="ttdeci">~Channel() override</div></div>
- <div class="ttc" id="aclassgrpc_1_1_completion_queue_html"><div class="ttname"><a href="classgrpc_1_1_completion_queue.html">grpc::CompletionQueue</a></div><div class="ttdoc">A thin wrapper around grpc_completion_queue (see src/core/lib/surface/completion_queue....</div><div class="ttdef"><b>Definition:</b> completion_queue.h:102</div></div>
- <div class="ttc" id="aclassgrpc_1_1_channel_html"><div class="ttname"><a href="classgrpc_1_1_channel.html">grpc::Channel</a></div><div class="ttdoc">Channels represent a connection to an endpoint. Created by CreateChannel.</div><div class="ttdef"><b>Definition:</b> channel.h:54</div></div>
- <div class="ttc" id="agrpc__types_8h_html_a432bfa6b9f6603643cdf9de8804c254e"><div class="ttname"><a href="grpc__types_8h.html#a432bfa6b9f6603643cdf9de8804c254e">grpc_channel</a></div><div class="ttdeci">struct grpc_channel grpc_channel</div><div class="ttdoc">The Channel interface allows creation of Call objects.</div><div class="ttdef"><b>Definition:</b> grpc_types.h:62</div></div>
- <div class="ttc" id="aclassgrpc_1_1_channel_html_a4eb175406fb5be09e448dfbf186e662e"><div class="ttname"><a href="classgrpc_1_1_channel.html#a4eb175406fb5be09e448dfbf186e662e">grpc::Channel::GetLoadBalancingPolicyName</a></div><div class="ttdeci">std::string GetLoadBalancingPolicyName() const</div><div class="ttdoc">Returns the LB policy name, or the empty string if not yet available.</div></div>
- <div class="ttc" id="aclassgrpc_1_1internal_1_1_mutex_html"><div class="ttname"><a href="classgrpc_1_1internal_1_1_mutex.html">grpc::internal::Mutex</a></div><div class="ttdef"><b>Definition:</b> sync.h:47</div></div>
- <div class="ttc" id="agrpcpp_2impl_2codegen_2completion__queue_8h_html"><div class="ttname"><a href="grpcpp_2impl_2codegen_2completion__queue_8h.html">completion_queue.h</a></div></div>
- <div class="ttc" id="astructgpr__timespec_html"><div class="ttname"><a href="structgpr__timespec.html">gpr_timespec</a></div><div class="ttdoc">Analogous to struct timespec.</div><div class="ttdef"><b>Definition:</b> gpr_types.h:47</div></div>
- <div class="ttc" id="aclassgrpc_1_1_channel_html_a646d7a9d01f22037a72092d3a0bf159c"><div class="ttname"><a href="classgrpc_1_1_channel.html#a646d7a9d01f22037a72092d3a0bf159c">grpc::Channel::GetState</a></div><div class="ttdeci">grpc_connectivity_state GetState(bool try_to_connect) override</div><div class="ttdoc">Get the current channel state.</div></div>
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generated on Wed Mar 3 2021 19:17:17 for GRPC C++ by  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.8.17
- </small></address>
- </body>
- </html>
|