| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta name="generator" content="Doxygen 1.8.13"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>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.19.0-dev</span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.13 -->
- <script type="text/javascript">
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- </script>
- <script type="text/javascript" src="menudata.js"></script>
- <script type="text/javascript" src="menu.js"></script>
- <script type="text/javascript">
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- </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_2support_2async__stream_8h.html">grpcpp/support/async_stream.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_2support_2async__unary__call_8h.html">grpcpp/support/async_unary_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_2support_2byte__buffer_8h.html">grpcpp/support/byte_buffer.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_2client__callback_8h.html">grpcpp/support/client_callback.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_2status_8h.html">grpcpp/support/status.h</a>></span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">namespace </span><a class="code" href="namespacegrpc.html">grpc</a> {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="namespacegrpc.html#aba53fb6f2502caa167e9528e5c560539"> 32</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="l00033"></a><span class="lineno"> 33</span> <span class="keyword">typedef</span> <a class="code" href="classgrpc_1_1_client_async_reader_writer.html">ClientAsyncReaderWriter<ByteBuffer, ByteBuffer></a></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <a class="code" href="namespacegrpc.html#aba53fb6f2502caa167e9528e5c560539">GenericClientAsyncReaderWriter</a>;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="namespacegrpc.html#a7ee9bd108774bc00defacc5b4fb695df"> 35</a></span> <span class="keyword">typedef</span> <a class="code" href="classgrpc_1_1_client_async_response_reader.html">ClientAsyncResponseReader<ByteBuffer></a> <a class="code" href="namespacegrpc.html#a7ee9bd108774bc00defacc5b4fb695df">GenericClientAsyncResponseReader</a>;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classgrpc_1_1_generic_stub.html"> 39</a></span> <span class="keyword">class </span><a class="code" href="classgrpc_1_1_generic_stub.html">GenericStub</a> final {</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classgrpc_1_1_generic_stub.html#a1523f381907ac18b841bb4064f2a3b88"> 41</a></span>  <span class="keyword">explicit</span> <a class="code" href="classgrpc_1_1_generic_stub.html#a1523f381907ac18b841bb4064f2a3b88">GenericStub</a>(std::shared_ptr<ChannelInterface> channel)</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  : channel_(channel) {}</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  std::unique_ptr<GenericClientAsyncReaderWriter> <a class="code" href="classgrpc_1_1_generic_stub.html#ae1d079fa84bb70e895fe1a62ac8c0a43">PrepareCall</a>(</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="classgrpc_1_1_client_context.html">ClientContext</a>* context, <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a>& method, <a class="code" href="classgrpc_1_1_completion_queue.html">CompletionQueue</a>* cq);</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  std::unique_ptr<GenericClientAsyncResponseReader> <a class="code" href="classgrpc_1_1_generic_stub.html#a7d7371d16df0f556b4d6d1e5366aebd7">PrepareUnaryCall</a>(</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="classgrpc_1_1_client_context.html">ClientContext</a>* context, <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a>& method,</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keyword">const</span> <a class="code" href="classgrpc_1_1_byte_buffer.html">ByteBuffer</a>& request, <a class="code" href="classgrpc_1_1_completion_queue.html">CompletionQueue</a>* cq);</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  std::unique_ptr<GenericClientAsyncReaderWriter> <a class="code" href="classgrpc_1_1_generic_stub.html#a29d999cf06468cfe12d3cdc912cb0afb">Call</a>(</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="classgrpc_1_1_client_context.html">ClientContext</a>* context, <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a>& method, <a class="code" href="classgrpc_1_1_completion_queue.html">CompletionQueue</a>* cq,</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordtype">void</span>* tag);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classgrpc_1_1_generic_stub_1_1experimental__type.html"> 72</a></span>  <span class="keyword">class </span><a class="code" href="classgrpc_1_1_generic_stub_1_1experimental__type.html">experimental_type</a> {</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classgrpc_1_1_generic_stub_1_1experimental__type.html#a79ebad820cf39a6946cbff09edfd437d"> 74</a></span>  <span class="keyword">explicit</span> <a class="code" href="classgrpc_1_1_generic_stub_1_1experimental__type.html#a79ebad820cf39a6946cbff09edfd437d">experimental_type</a>(<a class="code" href="classgrpc_1_1_generic_stub.html">GenericStub</a>* stub) : stub_(stub) {}</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1_generic_stub_1_1experimental__type.html#a0510e32bffe5a7fb57f3d2273c75926a">UnaryCall</a>(<a class="code" href="classgrpc_1_1_client_context.html">ClientContext</a>* context, <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a>& method,</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keyword">const</span> <a class="code" href="classgrpc_1_1_byte_buffer.html">ByteBuffer</a>* request, <a class="code" href="classgrpc_1_1_byte_buffer.html">ByteBuffer</a>* response,</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  std::function<<span class="keywordtype">void</span>(<a class="code" href="classgrpc_1_1_status.html">Status</a>)> on_completion);</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1_generic_stub_1_1experimental__type.html#abbf73e9ff66cca3d328bacc2eee593dd">PrepareBidiStreamingCall</a>(</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <a class="code" href="classgrpc_1_1_client_context.html">ClientContext</a>* context, <span class="keyword">const</span> <a class="code" href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a>& method,</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <a class="code" href="classgrpc_1_1experimental_1_1_client_bidi_reactor.html">experimental::ClientBidiReactor<ByteBuffer, ByteBuffer></a>* reactor);</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="classgrpc_1_1_generic_stub.html">GenericStub</a>* stub_;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  };</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classgrpc_1_1_generic_stub.html#a568c88e2f01ecd46ba97bc28996f37be"> 91</a></span>  <a class="code" href="classgrpc_1_1_generic_stub_1_1experimental__type.html">experimental_type</a> <a class="code" href="classgrpc_1_1_generic_stub.html#a568c88e2f01ecd46ba97bc28996f37be">experimental</a>() { <span class="keywordflow">return</span> <a class="code" href="classgrpc_1_1_generic_stub_1_1experimental__type.html#a79ebad820cf39a6946cbff09edfd437d">experimental_type</a>(<span class="keyword">this</span>); }</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  std::shared_ptr<ChannelInterface> channel_;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> };</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> } <span class="comment">// namespace grpc</span></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="preprocessor">#endif // GRPCPP_GENERIC_GENERIC_STUB_H</span></div><div class="ttc" id="classgrpc_1_1_client_async_reader_writer_html"><div class="ttname"><a href="classgrpc_1_1_client_async_reader_writer.html">grpc::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.h:514</div></div>
- <div class="ttc" id="namespacegrpc_html_ab04a87625da3bf85cdaf5e7856b00203"><div class="ttname"><a href="namespacegrpc.html#ab04a87625da3bf85cdaf5e7856b00203">grpc::string</a></div><div class="ttdeci">std::string string</div><div class="ttdef"><b>Definition:</b> config.h:35</div></div>
- <div class="ttc" id="classgrpc_1_1_generic_stub_html_a7d7371d16df0f556b4d6d1e5366aebd7"><div class="ttname"><a href="classgrpc_1_1_generic_stub.html#a7d7371d16df0f556b4d6d1e5366aebd7">grpc::GenericStub::PrepareUnaryCall</a></div><div class="ttdeci">std::unique_ptr< GenericClientAsyncResponseReader > PrepareUnaryCall(ClientContext *context, const grpc::string &method, const ByteBuffer &request, CompletionQueue *cq)</div><div class="ttdoc">Setup a unary call to a named method method using context, and don&#39;t start it. </div></div>
- <div class="ttc" id="classgrpc_1_1_generic_stub_1_1experimental__type_html_a79ebad820cf39a6946cbff09edfd437d"><div class="ttname"><a href="classgrpc_1_1_generic_stub_1_1experimental__type.html#a79ebad820cf39a6946cbff09edfd437d">grpc::GenericStub::experimental_type::experimental_type</a></div><div class="ttdeci">experimental_type(GenericStub *stub)</div><div class="ttdef"><b>Definition:</b> generic_stub.h:74</div></div>
- <div class="ttc" id="classgrpc_1_1_generic_stub_1_1experimental__type_html"><div class="ttname"><a href="classgrpc_1_1_generic_stub_1_1experimental__type.html">grpc::GenericStub::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:72</div></div>
- <div class="ttc" id="classgrpc_1_1_client_async_response_reader_html"><div class="ttname"><a href="classgrpc_1_1_client_async_response_reader.html">grpc::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.h:98</div></div>
- <div class="ttc" id="classgrpc_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:174</div></div>
- <div class="ttc" id="grpcpp_2support_2status_8h_html"><div class="ttname"><a href="grpcpp_2support_2status_8h.html">status.h</a></div></div>
- <div class="ttc" id="classgrpc_1_1_generic_stub_html_a29d999cf06468cfe12d3cdc912cb0afb"><div class="ttname"><a href="classgrpc_1_1_generic_stub.html#a29d999cf06468cfe12d3cdc912cb0afb">grpc::GenericStub::Call</a></div><div class="ttdeci">std::unique_ptr< GenericClientAsyncReaderWriter > Call(ClientContext *context, const grpc::string &method, 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>
- <div class="ttc" id="classgrpc_1_1_generic_stub_1_1experimental__type_html_abbf73e9ff66cca3d328bacc2eee593dd"><div class="ttname"><a href="classgrpc_1_1_generic_stub_1_1experimental__type.html#abbf73e9ff66cca3d328bacc2eee593dd">grpc::GenericStub::experimental_type::PrepareBidiStreamingCall</a></div><div class="ttdeci">void PrepareBidiStreamingCall(ClientContext *context, const grpc::string &method, experimental::ClientBidiReactor< ByteBuffer, ByteBuffer > *reactor)</div></div>
- <div class="ttc" id="namespacegrpc_html_a7ee9bd108774bc00defacc5b4fb695df"><div class="ttname"><a href="namespacegrpc.html#a7ee9bd108774bc00defacc5b4fb695df">grpc::GenericClientAsyncResponseReader</a></div><div class="ttdeci">ClientAsyncResponseReader< ByteBuffer > GenericClientAsyncResponseReader</div><div class="ttdef"><b>Definition:</b> generic_stub.h:35</div></div>
- <div class="ttc" id="namespacegrpc_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="grpcpp_2support_2async__stream_8h_html"><div class="ttname"><a href="grpcpp_2support_2async__stream_8h.html">async_stream.h</a></div></div>
- <div class="ttc" id="support_2client__callback_8h_html"><div class="ttname"><a href="support_2client__callback_8h.html">client_callback.h</a></div></div>
- <div class="ttc" id="classgrpc_1_1experimental_1_1_client_bidi_reactor_html"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_client_bidi_reactor.html">grpc::experimental::ClientBidiReactor</a></div><div class="ttdef"><b>Definition:</b> client_callback.h:98</div></div>
- <div class="ttc" id="grpcpp_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="classgrpc_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.h). </div><div class="ttdef"><b>Definition:</b> completion_queue.h:95</div></div>
- <div class="ttc" id="classgrpc_1_1_generic_stub_html_a568c88e2f01ecd46ba97bc28996f37be"><div class="ttname"><a href="classgrpc_1_1_generic_stub.html#a568c88e2f01ecd46ba97bc28996f37be">grpc::GenericStub::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:91</div></div>
- <div class="ttc" id="classgrpc_1_1_generic_stub_1_1experimental__type_html_a0510e32bffe5a7fb57f3d2273c75926a"><div class="ttname"><a href="classgrpc_1_1_generic_stub_1_1experimental__type.html#a0510e32bffe5a7fb57f3d2273c75926a">grpc::GenericStub::experimental_type::UnaryCall</a></div><div class="ttdeci">void UnaryCall(ClientContext *context, const grpc::string &method, const ByteBuffer *request, ByteBuffer *response, std::function< void(Status)> on_completion)</div></div>
- <div class="ttc" id="grpcpp_2support_2async__unary__call_8h_html"><div class="ttname"><a href="grpcpp_2support_2async__unary__call_8h.html">async_unary_call.h</a></div></div>
- <div class="ttc" id="classgrpc_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&#39;t, why? </div><div class="ttdef"><b>Definition:</b> status.h:31</div></div>
- <div class="ttc" id="namespacegrpc_html_aba53fb6f2502caa167e9528e5c560539"><div class="ttname"><a href="namespacegrpc.html#aba53fb6f2502caa167e9528e5c560539">grpc::GenericClientAsyncReaderWriter</a></div><div class="ttdeci">ClientAsyncReaderWriter< ByteBuffer, ByteBuffer > GenericClientAsyncReaderWriter</div><div class="ttdef"><b>Definition:</b> generic_stub.h:32</div></div>
- <div class="ttc" id="classgrpc_1_1_generic_stub_html"><div class="ttname"><a href="classgrpc_1_1_generic_stub.html">grpc::GenericStub</a></div><div class="ttdoc">Generic stubs provide a type-unsafe interface to call gRPC methods by name. </div><div class="ttdef"><b>Definition:</b> generic_stub.h:39</div></div>
- <div class="ttc" id="classgrpc_1_1_generic_stub_html_a1523f381907ac18b841bb4064f2a3b88"><div class="ttname"><a href="classgrpc_1_1_generic_stub.html#a1523f381907ac18b841bb4064f2a3b88">grpc::GenericStub::GenericStub</a></div><div class="ttdeci">GenericStub(std::shared_ptr< ChannelInterface > channel)</div><div class="ttdef"><b>Definition:</b> generic_stub.h:41</div></div>
- <div class="ttc" id="classgrpc_1_1_byte_buffer_html"><div class="ttname"><a href="classgrpc_1_1_byte_buffer.html">grpc::ByteBuffer</a></div><div class="ttdoc">A sequence of bytes. </div><div class="ttdef"><b>Definition:</b> byte_buffer.h:64</div></div>
- <div class="ttc" id="classgrpc_1_1_generic_stub_html_ae1d079fa84bb70e895fe1a62ac8c0a43"><div class="ttname"><a href="classgrpc_1_1_generic_stub.html#ae1d079fa84bb70e895fe1a62ac8c0a43">grpc::GenericStub::PrepareCall</a></div><div class="ttdeci">std::unique_ptr< GenericClientAsyncReaderWriter > PrepareCall(ClientContext *context, const grpc::string &method, CompletionQueue *cq)</div><div class="ttdoc">Setup a call to a named method method using context, but don&#39;t start it. </div></div>
- </div><!-- fragment --></div><!-- contents -->
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generated on Fri Jan 18 2019 16:14:25 for GRPC C++ by  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.8.13
- </small></address>
- </body>
- </html>
|