| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301 |
- <!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/generic/generic_stub.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.32.0</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><li class="navelem"><a class="el" href="dir_d0687bfb49a2d724b4c01763956c068f.html">generic</a></li> </ul>
- </div>
- </div><!-- top -->
- <div class="header">
- <div class="headertitle">
- <div class="title">generic_stub.h</div> </div>
- </div><!--header-->
- <div class="contents">
- <a href="grpcpp_2generic_2generic__stub_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_GENERIC_GENERIC_STUB_H</span></div>
- <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#define GRPCPP_GENERIC_GENERIC_STUB_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 <functional></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="grpcpp_2client__context_8h.html">grpcpp/client_context.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_2rpc__method_8h.html">grpcpp/impl/rpc_method.h</a>></span></div>
- <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="support_2async__stream__impl_8h.html">grpcpp/support/async_stream_impl.h</a>></span></div>
- <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <<a class="code" href="support_2async__unary__call__impl_8h.html">grpcpp/support/async_unary_call_impl.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_2support_2byte__buffer_8h.html">grpcpp/support/byte_buffer.h</a>></span></div>
- <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <<a class="code" href="support_2client__callback__impl_8h.html">grpcpp/support/client_callback_impl.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_2support_2status_8h.html">grpcpp/support/status.h</a>></span></div>
- <div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div>
- <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">namespace </span><a class="code" href="namespacegrpc.html">grpc</a> {</div>
- <div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
- <div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="namespacegrpc.html#a32fd0a2ccd1ad46eebf2fb7ad580684d"> 34</a></span> <span class="keyword">class </span><a class="code" href="classgrpc_1_1_completion_queue.html">CompletionQueue</a>;</div>
- <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div>
- <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> typedef ::grpc_impl::ClientAsyncReaderWriter<ByteBuffer, ByteBuffer></div>
- <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="namespacegrpc.html#a32fd0a2ccd1ad46eebf2fb7ad580684d">GenericClientAsyncReaderWriter</a>;</div>
- <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> typedef ::grpc_impl::ClientAsyncResponseReader<ByteBuffer></div>
- <div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="namespacegrpc.html#a0f6449923a71f91fcb5689834e17d650"> 39</a></span>  <a class="code" href="namespacegrpc.html#a0f6449923a71f91fcb5689834e17d650">GenericClientAsyncResponseReader</a>;</div>
- <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
- <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">template</span> <<span class="keyword">class</span> RequestType, <span class="keyword">class</span> ResponseType></div>
- <div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classgrpc_1_1_templated_generic_stub.html"> 45</a></span> <span class="keyword">class </span><a class="code" href="classgrpc_1_1_templated_generic_stub.html">TemplatedGenericStub</a> final {</div>
- <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">public</span>:</div>
- <div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classgrpc_1_1_templated_generic_stub.html#ac304d65b478ea61991aa3e65430315cb"> 47</a></span>  <span class="keyword">explicit</span> <a class="code" href="classgrpc_1_1_templated_generic_stub.html#ac304d65b478ea61991aa3e65430315cb">TemplatedGenericStub</a>(std::shared_ptr<grpc::ChannelInterface> channel)</div>
- <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  : channel_(channel) {}</div>
- <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div>
- <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  std::unique_ptr<</div>
- <div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="classgrpc__impl_1_1_client_async_reader_writer.html">::grpc_impl::ClientAsyncReaderWriter<RequestType, ResponseType></a>></div>
- <div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classgrpc_1_1_templated_generic_stub.html#a0bc819ffc6b78fc561ec23eda04cbac7"> 56</a></span>  <a class="code" href="classgrpc_1_1_templated_generic_stub.html#a0bc819ffc6b78fc561ec23eda04cbac7">PrepareCall</a>(<a class="code" href="classgrpc_1_1_client_context.html">ClientContext</a>* context, <span class="keyword">const</span> std::string& method,</div>
- <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  ::<a class="code" href="classgrpc_1_1_completion_queue.html">grpc::CompletionQueue</a>* cq) {</div>
- <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordflow">return</span> CallInternal(channel_.get(), context, method, cq, <span class="keyword">false</span>, <span class="keyword">nullptr</span>);</div>
- <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  }</div>
- <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  </div>
- <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  std::unique_ptr<::grpc_impl::ClientAsyncResponseReader<ResponseType>></div>
- <div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classgrpc_1_1_templated_generic_stub.html#a7ca55e32303e331446230cacdefc1415"> 66</a></span>  <a class="code" href="classgrpc_1_1_templated_generic_stub.html#a7ca55e32303e331446230cacdefc1415">PrepareUnaryCall</a>(<a class="code" href="classgrpc_1_1_client_context.html">ClientContext</a>* context, <span class="keyword">const</span> std::string& method,</div>
- <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">const</span> RequestType& request, ::<a class="code" href="classgrpc_1_1_completion_queue.html">grpc::CompletionQueue</a>* cq) {</div>
- <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">return</span> std::unique_ptr<</div>
- <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="classgrpc__impl_1_1_client_async_response_reader.html">::grpc_impl::ClientAsyncResponseReader<ResponseType></a>>(</div>
- <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="classgrpc__impl_1_1internal_1_1_client_async_response_reader_factory.html">grpc_impl::internal::ClientAsyncResponseReaderFactory</a><</div>
- <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  ResponseType>::Create(channel_.get(), cq,</div>
- <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classgrpc_1_1internal_1_1_rpc_method.html">grpc::internal::RpcMethod</a>(</div>
- <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  method.c_str(),</div>
- <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="classgrpc_1_1internal_1_1_rpc_method.html#a40ce84e3569f6a327468ae59f04c7dd1a73dbd8998b4364e284ade7c00a57ec37">grpc::internal::RpcMethod::NORMAL_RPC</a>),</div>
- <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  context, request, <span class="keyword">false</span>));</div>
- <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  }</div>
- <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div>
- <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  std::unique_ptr<</div>
- <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="classgrpc__impl_1_1_client_async_reader_writer.html">::grpc_impl::ClientAsyncReaderWriter<RequestType, ResponseType></a>></div>
- <div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classgrpc_1_1_templated_generic_stub.html#a65934a5bb9c7a14c85fa4f3409452b75"> 86</a></span>  <a class="code" href="classgrpc_1_1_templated_generic_stub.html#a65934a5bb9c7a14c85fa4f3409452b75">Call</a>(<a class="code" href="classgrpc_1_1_client_context.html">ClientContext</a>* context, <span class="keyword">const</span> std::string& method,</div>
- <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  ::<a class="code" href="classgrpc_1_1_completion_queue.html">grpc::CompletionQueue</a>* cq, <span class="keywordtype">void</span>* tag) {</div>
- <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordflow">return</span> CallInternal(channel_.get(), context, method, cq, <span class="keyword">true</span>, tag);</div>
- <div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  }</div>
- <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  </div>
- <div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="preprocessor">#ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL</span></div>
- <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">void</span> UnaryCall(<a class="code" href="classgrpc_1_1_client_context.html">ClientContext</a>* context, <span class="keyword">const</span> std::string& method,</div>
- <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keyword">const</span> RequestType* request, ResponseType* response,</div>
- <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  std::function<<span class="keywordtype">void</span>(<a class="code" href="classgrpc_1_1_status.html">grpc::Status</a>)> on_completion) {</div>
- <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  UnaryCallInternal(context, method, request, response,</div>
- <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  std::move(on_completion));</div>
- <div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  }</div>
- <div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  </div>
- <div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1_templated_generic_stub.html#a7ca55e32303e331446230cacdefc1415">PrepareUnaryCall</a>(ClientContext* context, <span class="keyword">const</span> std::string& method,</div>
- <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keyword">const</span> RequestType* request, ResponseType* response,</div>
- <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  ::<a class="code" href="classgrpc__impl_1_1_client_unary_reactor.html">grpc_impl::ClientUnaryReactor</a>* reactor) {</div>
- <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  PrepareUnaryCallInternal(context, method, request, response, reactor);</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>  </div>
- <div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordtype">void</span> PrepareBidiStreamingCall(</div>
- <div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  ClientContext* context, <span class="keyword">const</span> std::string& method,</div>
- <div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  ::<a class="code" href="classgrpc__impl_1_1_client_bidi_reactor.html">grpc_impl::ClientBidiReactor<RequestType, ResponseType></a>* reactor) {</div>
- <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  PrepareBidiStreamingCallInternal(context, method, reactor);</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> <span class="preprocessor">#endif</span></div>
- <div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  </div>
- <div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classgrpc_1_1_templated_generic_stub_1_1experimental__type.html"> 124</a></span>  <span class="keyword">class </span><a class="code" href="classgrpc_1_1_templated_generic_stub_1_1experimental__type.html">experimental_type</a> {</div>
- <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keyword">public</span>:</div>
- <div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="classgrpc_1_1_templated_generic_stub_1_1experimental__type.html#ae9ce5e6822b0f5b09660e1d0f62efb9a"> 126</a></span>  <span class="keyword">explicit</span> <a class="code" href="classgrpc_1_1_templated_generic_stub_1_1experimental__type.html#ae9ce5e6822b0f5b09660e1d0f62efb9a">experimental_type</a>(<a class="code" href="classgrpc_1_1_templated_generic_stub.html">TemplatedGenericStub</a>* stub) : stub_(stub) {}</div>
- <div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  </div>
- <div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classgrpc_1_1_templated_generic_stub_1_1experimental__type.html#a4da536df6bb18778f122e7ac89bc4cfc"> 130</a></span>  <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1_templated_generic_stub_1_1experimental__type.html#a4da536df6bb18778f122e7ac89bc4cfc">UnaryCall</a>(<a class="code" href="classgrpc_1_1_client_context.html">ClientContext</a>* context, <span class="keyword">const</span> std::string& method,</div>
- <div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keyword">const</span> RequestType* request, ResponseType* response,</div>
- <div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  std::function<<span class="keywordtype">void</span>(<a class="code" href="classgrpc_1_1_status.html">grpc::Status</a>)> on_completion) {</div>
- <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  stub_->UnaryCallInternal(context, method, request, response,</div>
- <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  std::move(on_completion));</div>
- <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  }</div>
- <div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  </div>
- <div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classgrpc_1_1_templated_generic_stub_1_1experimental__type.html#a0781dc01dc282d084b88ce1d2a8f0aac"> 141</a></span>  <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1_templated_generic_stub_1_1experimental__type.html#a0781dc01dc282d084b88ce1d2a8f0aac">PrepareUnaryCall</a>(<a class="code" href="classgrpc_1_1_client_context.html">ClientContext</a>* context, <span class="keyword">const</span> std::string& method,</div>
- <div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keyword">const</span> RequestType* request, ResponseType* response,</div>
- <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  ::<a class="code" href="classgrpc__impl_1_1_client_unary_reactor.html">grpc_impl::ClientUnaryReactor</a>* reactor) {</div>
- <div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  stub_->PrepareUnaryCallInternal(context, method, request, response,</div>
- <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  reactor);</div>
- <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  }</div>
- <div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div>
- <div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="classgrpc_1_1_templated_generic_stub_1_1experimental__type.html#adb70387b96b37c089f70654a6c9f871b"> 151</a></span>  <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1_templated_generic_stub_1_1experimental__type.html#adb70387b96b37c089f70654a6c9f871b">PrepareBidiStreamingCall</a>(</div>
- <div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <a class="code" href="classgrpc_1_1_client_context.html">ClientContext</a>* context, <span class="keyword">const</span> std::string& method,</div>
- <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  ::<a class="code" href="classgrpc__impl_1_1_client_bidi_reactor.html">grpc_impl::ClientBidiReactor<RequestType, ResponseType></a>* reactor) {</div>
- <div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  stub_->PrepareBidiStreamingCallInternal(context, method, reactor);</div>
- <div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  }</div>
- <div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  </div>
- <div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keyword">private</span>:</div>
- <div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="classgrpc_1_1_templated_generic_stub.html">TemplatedGenericStub</a>* stub_;</div>
- <div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  };</div>
- <div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  </div>
- <div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="classgrpc_1_1_templated_generic_stub.html#adcf7f17bacefa6c232f75726e64dde3a"> 164</a></span>  <a class="code" href="classgrpc_1_1_templated_generic_stub_1_1experimental__type.html">experimental_type</a> <a class="code" href="classgrpc_1_1_templated_generic_stub.html#adcf7f17bacefa6c232f75726e64dde3a">experimental</a>() { <span class="keywordflow">return</span> <a class="code" href="classgrpc_1_1_templated_generic_stub_1_1experimental__type.html">experimental_type</a>(<span class="keyword">this</span>); }</div>
- <div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  </div>
- <div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keyword">private</span>:</div>
- <div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  std::shared_ptr<grpc::ChannelInterface> channel_;</div>
- <div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  </div>
- <div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordtype">void</span> UnaryCallInternal(<a class="code" href="classgrpc_1_1_client_context.html">ClientContext</a>* context, <span class="keyword">const</span> std::string& method,</div>
- <div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keyword">const</span> RequestType* request, ResponseType* response,</div>
- <div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  std::function<<span class="keywordtype">void</span>(<a class="code" href="classgrpc_1_1_status.html">grpc::Status</a>)> on_completion) {</div>
- <div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <a class="code" href="namespacegrpc__impl_1_1internal.html#a6f0d231354a90759ca50988818c4fa83">::grpc_impl::internal::CallbackUnaryCall</a>(</div>
- <div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  channel_.get(),</div>
- <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <a class="code" href="classgrpc_1_1internal_1_1_rpc_method.html">grpc::internal::RpcMethod</a>(method.c_str(),</div>
- <div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <a class="code" href="classgrpc_1_1internal_1_1_rpc_method.html#a40ce84e3569f6a327468ae59f04c7dd1a73dbd8998b4364e284ade7c00a57ec37">grpc::internal::RpcMethod::NORMAL_RPC</a>),</div>
- <div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  context, request, response, std::move(on_completion));</div>
- <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  }</div>
- <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  </div>
- <div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordtype">void</span> PrepareUnaryCallInternal(ClientContext* context,</div>
- <div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keyword">const</span> std::string& method,</div>
- <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keyword">const</span> RequestType* request,</div>
- <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  ResponseType* response,</div>
- <div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  ::<a class="code" href="classgrpc__impl_1_1_client_unary_reactor.html">grpc_impl::ClientUnaryReactor</a>* reactor) {</div>
- <div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <a class="code" href="classgrpc__impl_1_1internal_1_1_client_callback_unary_factory.html#aa237f1ac8161764b21bf4a3a30e68739">::grpc_impl::internal::ClientCallbackUnaryFactory::Create</a><RequestType,</div>
- <div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  ResponseType>(</div>
- <div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  channel_.get(),</div>
- <div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <a class="code" href="classgrpc_1_1internal_1_1_rpc_method.html">grpc::internal::RpcMethod</a>(method.c_str(),</div>
- <div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <a class="code" href="classgrpc_1_1internal_1_1_rpc_method.html#a40ce84e3569f6a327468ae59f04c7dd1a73dbd8998b4364e284ade7c00a57ec37">grpc::internal::RpcMethod::NORMAL_RPC</a>),</div>
- <div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  context, request, response, reactor);</div>
- <div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  }</div>
- <div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  </div>
- <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordtype">void</span> PrepareBidiStreamingCallInternal(</div>
- <div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  ClientContext* context, <span class="keyword">const</span> std::string& method,</div>
- <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  ::<a class="code" href="classgrpc__impl_1_1_client_bidi_reactor.html">grpc_impl::ClientBidiReactor<RequestType, ResponseType></a>* reactor) {</div>
- <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <a class="code" href="classgrpc__impl_1_1internal_1_1_client_callback_reader_writer_factory.html#a24d38d20ba868926ebcae31c6c1e3a27">::grpc_impl::internal::</a></div>
- <div class="line"><a name="l00196"></a><span class="lineno"> 196</span> <a class="code" href="classgrpc__impl_1_1internal_1_1_client_callback_reader_writer_factory.html#a24d38d20ba868926ebcae31c6c1e3a27"> ClientCallbackReaderWriterFactory<RequestType, ResponseType>::Create</a>(</div>
- <div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  channel_.get(),</div>
- <div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <a class="code" href="classgrpc_1_1internal_1_1_rpc_method.html">grpc::internal::RpcMethod</a>(</div>
- <div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  method.c_str(), <a class="code" href="classgrpc_1_1internal_1_1_rpc_method.html#a40ce84e3569f6a327468ae59f04c7dd1a8308d189db6d81509042a321ac91b00f">grpc::internal::RpcMethod::BIDI_STREAMING</a>),</div>
- <div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  context, reactor);</div>
- <div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  }</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>  std::unique_ptr<</div>
- <div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <a class="code" href="classgrpc__impl_1_1_client_async_reader_writer.html">::grpc_impl::ClientAsyncReaderWriter<RequestType, ResponseType></a>></div>
- <div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  CallInternal(<a class="code" href="classgrpc_1_1_channel_interface.html">grpc::ChannelInterface</a>* channel, ClientContext* context,</div>
- <div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keyword">const</span> std::string& method, ::<a class="code" href="classgrpc_1_1_completion_queue.html">grpc::CompletionQueue</a>* cq,</div>
- <div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keywordtype">bool</span> start, <span class="keywordtype">void</span>* tag) {</div>
- <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keywordflow">return</span> std::unique_ptr<</div>
- <div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <a class="code" href="classgrpc__impl_1_1_client_async_reader_writer.html">::grpc_impl::ClientAsyncReaderWriter<RequestType, ResponseType></a>>(</div>
- <div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <a class="code" href="classgrpc__impl_1_1internal_1_1_client_async_reader_writer_factory.html#a7c72f47fa3e3d40969db398780464bcb">::grpc_impl::internal::</a></div>
- <div class="line"><a name="l00211"></a><span class="lineno"> 211</span> <a class="code" href="classgrpc__impl_1_1internal_1_1_client_async_reader_writer_factory.html#a7c72f47fa3e3d40969db398780464bcb"> ClientAsyncReaderWriterFactory<RequestType, ResponseType>::Create</a>(</div>
- <div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  channel, cq,</div>
- <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <a class="code" href="classgrpc_1_1internal_1_1_rpc_method.html">grpc::internal::RpcMethod</a>(</div>
- <div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  method.c_str(), <a class="code" href="classgrpc_1_1internal_1_1_rpc_method.html#a40ce84e3569f6a327468ae59f04c7dd1a8308d189db6d81509042a321ac91b00f">grpc::internal::RpcMethod::BIDI_STREAMING</a>),</div>
- <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  context, start, tag));</div>
- <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  }</div>
- <div class="line"><a name="l00217"></a><span class="lineno"> 217</span> };</div>
- <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  </div>
- <div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="namespacegrpc.html#ac44a8983b461983cc7a1d67119a606ac"> 219</a></span> <span class="keyword">typedef</span> <a class="code" href="classgrpc_1_1_templated_generic_stub.html">TemplatedGenericStub<grpc::ByteBuffer, grpc::ByteBuffer></a> <a class="code" href="namespacegrpc.html#ac44a8983b461983cc7a1d67119a606ac">GenericStub</a>;</div>
- <div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  </div>
- <div class="line"><a name="l00221"></a><span class="lineno"> 221</span> } <span class="comment">// namespace grpc</span></div>
- <div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  </div>
- <div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="preprocessor">#endif // GRPCPP_GENERIC_GENERIC_STUB_H</span></div>
- </div><!-- fragment --></div><!-- contents -->
- <div class="ttc" id="anamespacegrpc_html"><div class="ttname"><a href="namespacegrpc.html">grpc</a></div><div class="ttdoc">This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInp...</div><div class="ttdef"><b>Definition:</b> alarm.h:24</div></div>
- <div class="ttc" id="aclassgrpc_1_1_templated_generic_stub_html_a65934a5bb9c7a14c85fa4f3409452b75"><div class="ttname"><a href="classgrpc_1_1_templated_generic_stub.html#a65934a5bb9c7a14c85fa4f3409452b75">grpc::TemplatedGenericStub::Call</a></div><div class="ttdeci">std::unique_ptr< ::grpc_impl::ClientAsyncReaderWriter< RequestType, ResponseType > > Call(ClientContext *context, const std::string &method, ::grpc::CompletionQueue *cq, void *tag)</div><div class="ttdoc">DEPRECATED for multi-threaded use Begin a call to a named method method using context.</div><div class="ttdef"><b>Definition:</b> generic_stub.h:86</div></div>
- <div class="ttc" id="aclassgrpc_1_1_templated_generic_stub_html_ac304d65b478ea61991aa3e65430315cb"><div class="ttname"><a href="classgrpc_1_1_templated_generic_stub.html#ac304d65b478ea61991aa3e65430315cb">grpc::TemplatedGenericStub::TemplatedGenericStub</a></div><div class="ttdeci">TemplatedGenericStub(std::shared_ptr< grpc::ChannelInterface > channel)</div><div class="ttdef"><b>Definition:</b> generic_stub.h:47</div></div>
- <div class="ttc" id="anamespacegrpc_html_a32fd0a2ccd1ad46eebf2fb7ad580684d"><div class="ttname"><a href="namespacegrpc.html#a32fd0a2ccd1ad46eebf2fb7ad580684d">grpc::GenericClientAsyncReaderWriter</a></div><div class="ttdeci">::grpc_impl::ClientAsyncReaderWriter< ByteBuffer, ByteBuffer > GenericClientAsyncReaderWriter</div><div class="ttdef"><b>Definition:</b> generic_stub.h:34</div></div>
- <div class="ttc" id="aclassgrpc_1_1_templated_generic_stub_1_1experimental__type_html_a4da536df6bb18778f122e7ac89bc4cfc"><div class="ttname"><a href="classgrpc_1_1_templated_generic_stub_1_1experimental__type.html#a4da536df6bb18778f122e7ac89bc4cfc">grpc::TemplatedGenericStub::experimental_type::UnaryCall</a></div><div class="ttdeci">void UnaryCall(ClientContext *context, const std::string &method, const RequestType *request, ResponseType *response, std::function< void(grpc::Status)> on_completion)</div><div class="ttdoc">Setup and start a unary call to a named method method using context and specifying the request and re...</div><div class="ttdef"><b>Definition:</b> generic_stub.h:130</div></div>
- <div class="ttc" id="anamespacegrpc__impl_1_1internal_html_a6f0d231354a90759ca50988818c4fa83"><div class="ttname"><a href="namespacegrpc__impl_1_1internal.html#a6f0d231354a90759ca50988818c4fa83">grpc_impl::internal::CallbackUnaryCall</a></div><div class="ttdeci">void CallbackUnaryCall(::grpc::ChannelInterface *channel, const ::grpc::internal::RpcMethod &method, ::grpc::ClientContext *context, const InputMessage *request, OutputMessage *result, std::function< void(::grpc::Status)> on_completion)</div><div class="ttdoc">Perform a callback-based unary call TODO(vjpai): Combine as much as possible with the blocking unary ...</div><div class="ttdef"><b>Definition:</b> client_callback_impl.h:46</div></div>
- <div class="ttc" id="agrpcpp_2support_2status_8h_html"><div class="ttname"><a href="grpcpp_2support_2status_8h.html">status.h</a></div></div>
- <div class="ttc" id="agrpcpp_2impl_2rpc__method_8h_html"><div class="ttname"><a href="grpcpp_2impl_2rpc__method_8h.html">rpc_method.h</a></div></div>
- <div class="ttc" id="aclassgrpc__impl_1_1_client_bidi_reactor_html"><div class="ttname"><a href="classgrpc__impl_1_1_client_bidi_reactor.html">grpc_impl::ClientBidiReactor</a></div><div class="ttdoc">ClientBidiReactor is the interface for a bidirectional streaming RPC.</div><div class="ttdef"><b>Definition:</b> client_callback_impl.h:131</div></div>
- <div class="ttc" id="aclassgrpc_1_1_status_html"><div class="ttname"><a href="classgrpc_1_1_status.html">grpc::Status</a></div><div class="ttdoc">Did it work? If it didn't, why?</div><div class="ttdef"><b>Definition:</b> status.h:31</div></div>
- <div class="ttc" id="aclassgrpc__impl_1_1_client_async_response_reader_html"><div class="ttname"><a href="classgrpc__impl_1_1_client_async_response_reader.html">grpc_impl::ClientAsyncResponseReader</a></div><div class="ttdoc">Async API for client-side unary RPCs, where the message response received from the server is of type ...</div><div class="ttdef"><b>Definition:</b> async_unary_call_impl.h:94</div></div>
- <div class="ttc" id="aclassgrpc_1_1internal_1_1_rpc_method_html_a40ce84e3569f6a327468ae59f04c7dd1a8308d189db6d81509042a321ac91b00f"><div class="ttname"><a href="classgrpc_1_1internal_1_1_rpc_method.html#a40ce84e3569f6a327468ae59f04c7dd1a8308d189db6d81509042a321ac91b00f">grpc::internal::RpcMethod::BIDI_STREAMING</a></div><div class="ttdeci">@ BIDI_STREAMING</div><div class="ttdef"><b>Definition:</b> rpc_method.h:35</div></div>
- <div class="ttc" id="asupport_2async__unary__call__impl_8h_html"><div class="ttname"><a href="support_2async__unary__call__impl_8h.html">async_unary_call_impl.h</a></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:195</div></div>
- <div class="ttc" id="aclassgrpc__impl_1_1_client_unary_reactor_html"><div class="ttname"><a href="classgrpc__impl_1_1_client_unary_reactor.html">grpc_impl::ClientUnaryReactor</a></div><div class="ttdoc">ClientUnaryReactor is a reactor-style interface for a unary RPC.</div><div class="ttdef"><b>Definition:</b> client_callback_impl.h:426</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:74</div></div>
- <div class="ttc" id="aclassgrpc_1_1_templated_generic_stub_html_a0bc819ffc6b78fc561ec23eda04cbac7"><div class="ttname"><a href="classgrpc_1_1_templated_generic_stub.html#a0bc819ffc6b78fc561ec23eda04cbac7">grpc::TemplatedGenericStub::PrepareCall</a></div><div class="ttdeci">std::unique_ptr< ::grpc_impl::ClientAsyncReaderWriter< RequestType, ResponseType > > PrepareCall(ClientContext *context, const std::string &method, ::grpc::CompletionQueue *cq)</div><div class="ttdoc">Setup a call to a named method method using context, but don't start it.</div><div class="ttdef"><b>Definition:</b> generic_stub.h:56</div></div>
- <div class="ttc" id="aclassgrpc_1_1internal_1_1_rpc_method_html_a40ce84e3569f6a327468ae59f04c7dd1a73dbd8998b4364e284ade7c00a57ec37"><div class="ttname"><a href="classgrpc_1_1internal_1_1_rpc_method.html#a40ce84e3569f6a327468ae59f04c7dd1a73dbd8998b4364e284ade7c00a57ec37">grpc::internal::RpcMethod::NORMAL_RPC</a></div><div class="ttdeci">@ NORMAL_RPC</div><div class="ttdef"><b>Definition:</b> rpc_method.h:32</div></div>
- <div class="ttc" id="aclassgrpc__impl_1_1_client_async_reader_writer_html"><div class="ttname"><a href="classgrpc__impl_1_1_client_async_reader_writer.html">grpc_impl::ClientAsyncReaderWriter</a></div><div class="ttdoc">Async client-side interface for bi-directional streaming, where the outgoing message stream going to ...</div><div class="ttdef"><b>Definition:</b> async_stream_impl.h:511</div></div>
- <div class="ttc" id="asupport_2client__callback__impl_8h_html"><div class="ttname"><a href="support_2client__callback__impl_8h.html">client_callback_impl.h</a></div></div>
- <div class="ttc" id="agrpcpp_2client__context_8h_html"><div class="ttname"><a href="grpcpp_2client__context_8h.html">client_context.h</a></div></div>
- <div class="ttc" id="aclassgrpc_1_1_templated_generic_stub_html"><div class="ttname"><a href="classgrpc_1_1_templated_generic_stub.html">grpc::TemplatedGenericStub</a></div><div class="ttdoc">Generic stubs provide a type-unaware interface to call gRPC methods by name.</div><div class="ttdef"><b>Definition:</b> generic_stub.h:45</div></div>
- <div class="ttc" id="agrpcpp_2support_2byte__buffer_8h_html"><div class="ttname"><a href="grpcpp_2support_2byte__buffer_8h.html">byte_buffer.h</a></div></div>
- <div class="ttc" id="aclassgrpc_1_1_templated_generic_stub_1_1experimental__type_html"><div class="ttname"><a href="classgrpc_1_1_templated_generic_stub_1_1experimental__type.html">grpc::TemplatedGenericStub::experimental_type</a></div><div class="ttdoc">NOTE: class experimental_type is not part of the public API of this class TODO(vjpai): Move these con...</div><div class="ttdef"><b>Definition:</b> generic_stub.h:124</div></div>
- <div class="ttc" id="aclassgrpc__impl_1_1internal_1_1_client_async_response_reader_factory_html"><div class="ttname"><a href="classgrpc__impl_1_1internal_1_1_client_async_response_reader_factory.html">grpc_impl::internal::ClientAsyncResponseReaderFactory</a></div><div class="ttdef"><b>Definition:</b> async_unary_call_impl.h:70</div></div>
- <div class="ttc" id="anamespacegrpc_html_ac44a8983b461983cc7a1d67119a606ac"><div class="ttname"><a href="namespacegrpc.html#ac44a8983b461983cc7a1d67119a606ac">grpc::GenericStub</a></div><div class="ttdeci">TemplatedGenericStub< grpc::ByteBuffer, grpc::ByteBuffer > GenericStub</div><div class="ttdef"><b>Definition:</b> generic_stub.h:219</div></div>
- <div class="ttc" id="aclassgrpc_1_1_templated_generic_stub_html_adcf7f17bacefa6c232f75726e64dde3a"><div class="ttname"><a href="classgrpc_1_1_templated_generic_stub.html#adcf7f17bacefa6c232f75726e64dde3a">grpc::TemplatedGenericStub::experimental</a></div><div class="ttdeci">experimental_type experimental()</div><div class="ttdoc">NOTE: The function experimental() is not stable public API.</div><div class="ttdef"><b>Definition:</b> generic_stub.h:164</div></div>
- <div class="ttc" id="aclassgrpc__impl_1_1internal_1_1_client_callback_unary_factory_html_aa237f1ac8161764b21bf4a3a30e68739"><div class="ttname"><a href="classgrpc__impl_1_1internal_1_1_client_callback_unary_factory.html#aa237f1ac8161764b21bf4a3a30e68739">grpc_impl::internal::ClientCallbackUnaryFactory::Create</a></div><div class="ttdeci">static void Create(::grpc::ChannelInterface *channel, const ::grpc::internal::RpcMethod &method, ::grpc::ClientContext *context, const Request *request, Response *response, ClientUnaryReactor *reactor)</div><div class="ttdef"><b>Definition:</b> client_callback_impl.h:1180</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:99</div></div>
- <div class="ttc" id="anamespacegrpc_html_a0f6449923a71f91fcb5689834e17d650"><div class="ttname"><a href="namespacegrpc.html#a0f6449923a71f91fcb5689834e17d650">grpc::GenericClientAsyncResponseReader</a></div><div class="ttdeci">::grpc_impl::ClientAsyncResponseReader< ByteBuffer > GenericClientAsyncResponseReader</div><div class="ttdef"><b>Definition:</b> generic_stub.h:39</div></div>
- <div class="ttc" id="aclassgrpc__impl_1_1internal_1_1_client_async_reader_writer_factory_html_a7c72f47fa3e3d40969db398780464bcb"><div class="ttname"><a href="classgrpc__impl_1_1internal_1_1_client_async_reader_writer_factory.html#a7c72f47fa3e3d40969db398780464bcb">grpc_impl::internal::ClientAsyncReaderWriterFactory::Create</a></div><div class="ttdeci">static ClientAsyncReaderWriter< W, R > * Create(::grpc::ChannelInterface *channel, ::grpc::CompletionQueue *cq, const ::grpc::internal::RpcMethod &method, ::grpc::ClientContext *context, bool start, void *tag)</div><div class="ttdoc">Create a stream object.</div><div class="ttdef"><b>Definition:</b> async_stream_impl.h:493</div></div>
- <div class="ttc" id="asupport_2async__stream__impl_8h_html"><div class="ttname"><a href="support_2async__stream__impl_8h.html">async_stream_impl.h</a></div></div>
- <div class="ttc" id="aclassgrpc_1_1_templated_generic_stub_1_1experimental__type_html_adb70387b96b37c089f70654a6c9f871b"><div class="ttname"><a href="classgrpc_1_1_templated_generic_stub_1_1experimental__type.html#adb70387b96b37c089f70654a6c9f871b">grpc::TemplatedGenericStub::experimental_type::PrepareBidiStreamingCall</a></div><div class="ttdeci">void PrepareBidiStreamingCall(ClientContext *context, const std::string &method, ::grpc_impl::ClientBidiReactor< RequestType, ResponseType > *reactor)</div><div class="ttdoc">Setup a call to a named method method using context and tied to reactor .</div><div class="ttdef"><b>Definition:</b> generic_stub.h:151</div></div>
- <div class="ttc" id="aclassgrpc_1_1internal_1_1_rpc_method_html"><div class="ttname"><a href="classgrpc_1_1internal_1_1_rpc_method.html">grpc::internal::RpcMethod</a></div><div class="ttdoc">Descriptor of an RPC method.</div><div class="ttdef"><b>Definition:</b> rpc_method.h:29</div></div>
- <div class="ttc" id="aclassgrpc_1_1_templated_generic_stub_1_1experimental__type_html_ae9ce5e6822b0f5b09660e1d0f62efb9a"><div class="ttname"><a href="classgrpc_1_1_templated_generic_stub_1_1experimental__type.html#ae9ce5e6822b0f5b09660e1d0f62efb9a">grpc::TemplatedGenericStub::experimental_type::experimental_type</a></div><div class="ttdeci">experimental_type(TemplatedGenericStub *stub)</div><div class="ttdef"><b>Definition:</b> generic_stub.h:126</div></div>
- <div class="ttc" id="aclassgrpc_1_1_templated_generic_stub_html_a7ca55e32303e331446230cacdefc1415"><div class="ttname"><a href="classgrpc_1_1_templated_generic_stub.html#a7ca55e32303e331446230cacdefc1415">grpc::TemplatedGenericStub::PrepareUnaryCall</a></div><div class="ttdeci">std::unique_ptr<::grpc_impl::ClientAsyncResponseReader< ResponseType > > PrepareUnaryCall(ClientContext *context, const std::string &method, const RequestType &request, ::grpc::CompletionQueue *cq)</div><div class="ttdoc">Setup a unary call to a named method method using context, and don't start it.</div><div class="ttdef"><b>Definition:</b> generic_stub.h:66</div></div>
- <div class="ttc" id="aclassgrpc__impl_1_1internal_1_1_client_callback_reader_writer_factory_html_a24d38d20ba868926ebcae31c6c1e3a27"><div class="ttname"><a href="classgrpc__impl_1_1internal_1_1_client_callback_reader_writer_factory.html#a24d38d20ba868926ebcae31c6c1e3a27">grpc_impl::internal::ClientCallbackReaderWriterFactory::Create</a></div><div class="ttdeci">static void Create(::grpc::ChannelInterface *channel, const ::grpc::internal::RpcMethod &method, ::grpc::ClientContext *context, ClientBidiReactor< Request, Response > *reactor)</div><div class="ttdef"><b>Definition:</b> client_callback_impl.h:691</div></div>
- <div class="ttc" id="aclassgrpc_1_1_templated_generic_stub_1_1experimental__type_html_a0781dc01dc282d084b88ce1d2a8f0aac"><div class="ttname"><a href="classgrpc_1_1_templated_generic_stub_1_1experimental__type.html#a0781dc01dc282d084b88ce1d2a8f0aac">grpc::TemplatedGenericStub::experimental_type::PrepareUnaryCall</a></div><div class="ttdeci">void PrepareUnaryCall(ClientContext *context, const std::string &method, const RequestType *request, ResponseType *response, ::grpc_impl::ClientUnaryReactor *reactor)</div><div class="ttdoc">Setup a unary call to a named method method using context and specifying the request and response buf...</div><div class="ttdef"><b>Definition:</b> generic_stub.h:141</div></div>
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generated on Sat Sep 12 2020 00:53:56 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>
|