Craig Tiller | 68f4e0f | 2015-08-05 08:18:21 -0700 | [diff] [blame^] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 6 | <meta name="generator" content="Doxygen 1.8.6"/> |
| 7 | <title>GRPC C++: grpc::RpcMethodHandler< ServiceType, RequestType, ResponseType > Class Template Reference</title> |
| 8 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 9 | <script type="text/javascript" src="jquery.js"></script> |
| 10 | <script type="text/javascript" src="dynsections.js"></script> |
| 11 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 12 | <script type="text/javascript" src="search/search.js"></script> |
| 13 | <script type="text/javascript"> |
| 14 | $(document).ready(function() { searchBox.OnSelectItem(0); }); |
| 15 | </script> |
| 16 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 17 | </head> |
| 18 | <body> |
| 19 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 20 | <div id="titlearea"> |
| 21 | <table cellspacing="0" cellpadding="0"> |
| 22 | <tbody> |
| 23 | <tr style="height: 56px;"> |
| 24 | <td style="padding-left: 0.5em;"> |
| 25 | <div id="projectname">GRPC C++ |
| 26 |  <span id="projectnumber">0.10.0.0</span> |
| 27 | </div> |
| 28 | </td> |
| 29 | </tr> |
| 30 | </tbody> |
| 31 | </table> |
| 32 | </div> |
| 33 | <!-- end header part --> |
| 34 | <!-- Generated by Doxygen 1.8.6 --> |
| 35 | <script type="text/javascript"> |
| 36 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 37 | </script> |
| 38 | <div id="navrow1" class="tabs"> |
| 39 | <ul class="tablist"> |
| 40 | <li><a href="index.html"><span>Main Page</span></a></li> |
| 41 | <li><a href="namespaces.html"><span>Namespaces</span></a></li> |
| 42 | <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> |
| 43 | <li><a href="files.html"><span>Files</span></a></li> |
| 44 | <li> |
| 45 | <div id="MSearchBox" class="MSearchBoxInactive"> |
| 46 | <span class="left"> |
| 47 | <img id="MSearchSelect" src="search/mag_sel.png" |
| 48 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 49 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 50 | alt=""/> |
| 51 | <input type="text" id="MSearchField" value="Search" accesskey="S" |
| 52 | onfocus="searchBox.OnSearchFieldFocus(true)" |
| 53 | onblur="searchBox.OnSearchFieldFocus(false)" |
| 54 | onkeyup="searchBox.OnSearchFieldChange(event)"/> |
| 55 | </span><span class="right"> |
| 56 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
| 57 | </span> |
| 58 | </div> |
| 59 | </li> |
| 60 | </ul> |
| 61 | </div> |
| 62 | <div id="navrow2" class="tabs2"> |
| 63 | <ul class="tablist"> |
| 64 | <li><a href="annotated.html"><span>Data Structures</span></a></li> |
| 65 | <li><a href="classes.html"><span>Data Structure Index</span></a></li> |
| 66 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
| 67 | <li><a href="functions.html"><span>Data Fields</span></a></li> |
| 68 | </ul> |
| 69 | </div> |
| 70 | <!-- window showing the filter options --> |
| 71 | <div id="MSearchSelectWindow" |
| 72 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 73 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 74 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 75 | <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Macros</a></div> |
| 76 | |
| 77 | <!-- iframe showing the search results (closed by default) --> |
| 78 | <div id="MSearchResultsWindow"> |
| 79 | <iframe src="javascript:void(0)" frameborder="0" |
| 80 | name="MSearchResults" id="MSearchResults"> |
| 81 | </iframe> |
| 82 | </div> |
| 83 | |
| 84 | <div id="nav-path" class="navpath"> |
| 85 | <ul> |
| 86 | <li class="navelem"><a class="el" href="namespacegrpc.html">grpc</a></li><li class="navelem"><a class="el" href="classgrpc_1_1_rpc_method_handler.html">RpcMethodHandler</a></li> </ul> |
| 87 | </div> |
| 88 | </div><!-- top --> |
| 89 | <div class="header"> |
| 90 | <div class="summary"> |
| 91 | <a href="#pub-methods">Public Member Functions</a> </div> |
| 92 | <div class="headertitle"> |
| 93 | <div class="title">grpc::RpcMethodHandler< ServiceType, RequestType, ResponseType > Class Template Reference</div> </div> |
| 94 | </div><!--header--> |
| 95 | <div class="contents"> |
| 96 | |
| 97 | <p><code>#include <<a class="el" href="completion__queue_8h_source.html">completion_queue.h</a>></code></p> |
| 98 | <table class="memberdecls"> |
| 99 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 100 | Public Member Functions</h2></td></tr> |
| 101 | <tr class="memitem:af18c4bdcfc73d0238b238097547e6a48"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgrpc_1_1_rpc_method_handler.html#af18c4bdcfc73d0238b238097547e6a48">RpcMethodHandler</a> (std::function< <a class="el" href="classgrpc_1_1_status.html">Status</a>(ServiceType *, <a class="el" href="classgrpc_1_1_server_context.html">ServerContext</a> *, const RequestType *, ResponseType *)> func, ServiceType *service)</td></tr> |
| 102 | <tr class="separator:af18c4bdcfc73d0238b238097547e6a48"><td class="memSeparator" colspan="2"> </td></tr> |
| 103 | <tr class="memitem:a3dd04e9149c844224390b403ff24fa41"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgrpc_1_1_rpc_method_handler.html#a3dd04e9149c844224390b403ff24fa41">RunHandler</a> (const <a class="el" href="structgrpc_1_1_method_handler_1_1_handler_parameter.html">HandlerParameter</a> &param)</td></tr> |
| 104 | <tr class="separator:a3dd04e9149c844224390b403ff24fa41"><td class="memSeparator" colspan="2"> </td></tr> |
| 105 | <tr class="inherit_header pub_methods_classgrpc_1_1_method_handler"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgrpc_1_1_method_handler')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classgrpc_1_1_method_handler.html">grpc::MethodHandler</a></td></tr> |
| 106 | <tr class="memitem:afc792a35059d6c46b78d7d9410f9a4b0 inherit pub_methods_classgrpc_1_1_method_handler"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classgrpc_1_1_method_handler.html#afc792a35059d6c46b78d7d9410f9a4b0">~MethodHandler</a> ()</td></tr> |
| 107 | <tr class="separator:afc792a35059d6c46b78d7d9410f9a4b0 inherit pub_methods_classgrpc_1_1_method_handler"><td class="memSeparator" colspan="2"> </td></tr> |
| 108 | </table> |
| 109 | <h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 110 | <a class="anchor" id="af18c4bdcfc73d0238b238097547e6a48"></a> |
| 111 | <div class="memitem"> |
| 112 | <div class="memproto"> |
| 113 | <div class="memtemplate"> |
| 114 | template<class ServiceType , class RequestType , class ResponseType > </div> |
| 115 | <table class="mlabels"> |
| 116 | <tr> |
| 117 | <td class="mlabels-left"> |
| 118 | <table class="memname"> |
| 119 | <tr> |
| 120 | <td class="memname"><a class="el" href="classgrpc_1_1_rpc_method_handler.html">grpc::RpcMethodHandler</a>< ServiceType, RequestType, ResponseType >::<a class="el" href="classgrpc_1_1_rpc_method_handler.html">RpcMethodHandler</a> </td> |
| 121 | <td>(</td> |
| 122 | <td class="paramtype">std::function< <a class="el" href="classgrpc_1_1_status.html">Status</a>(ServiceType *, <a class="el" href="classgrpc_1_1_server_context.html">ServerContext</a> *, const RequestType *, ResponseType *)> </td> |
| 123 | <td class="paramname"><em>func</em>, </td> |
| 124 | </tr> |
| 125 | <tr> |
| 126 | <td class="paramkey"></td> |
| 127 | <td></td> |
| 128 | <td class="paramtype">ServiceType * </td> |
| 129 | <td class="paramname"><em>service</em> </td> |
| 130 | </tr> |
| 131 | <tr> |
| 132 | <td></td> |
| 133 | <td>)</td> |
| 134 | <td></td><td></td> |
| 135 | </tr> |
| 136 | </table> |
| 137 | </td> |
| 138 | <td class="mlabels-right"> |
| 139 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 140 | </tr> |
| 141 | </table> |
| 142 | </div><div class="memdoc"> |
| 143 | |
| 144 | </div> |
| 145 | </div> |
| 146 | <h2 class="groupheader">Member Function Documentation</h2> |
| 147 | <a class="anchor" id="a3dd04e9149c844224390b403ff24fa41"></a> |
| 148 | <div class="memitem"> |
| 149 | <div class="memproto"> |
| 150 | <div class="memtemplate"> |
| 151 | template<class ServiceType , class RequestType , class ResponseType > </div> |
| 152 | <table class="mlabels"> |
| 153 | <tr> |
| 154 | <td class="mlabels-left"> |
| 155 | <table class="memname"> |
| 156 | <tr> |
| 157 | <td class="memname">void <a class="el" href="classgrpc_1_1_rpc_method_handler.html">grpc::RpcMethodHandler</a>< ServiceType, RequestType, ResponseType >::RunHandler </td> |
| 158 | <td>(</td> |
| 159 | <td class="paramtype">const <a class="el" href="structgrpc_1_1_method_handler_1_1_handler_parameter.html">HandlerParameter</a> & </td> |
| 160 | <td class="paramname"><em>param</em></td><td>)</td> |
| 161 | <td></td> |
| 162 | </tr> |
| 163 | </table> |
| 164 | </td> |
| 165 | <td class="mlabels-right"> |
| 166 | <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> |
| 167 | </tr> |
| 168 | </table> |
| 169 | </div><div class="memdoc"> |
| 170 | |
| 171 | <p>Implements <a class="el" href="classgrpc_1_1_method_handler.html#a8f901c44915f81bb86ecba0278f7db16">grpc::MethodHandler</a>.</p> |
| 172 | |
| 173 | </div> |
| 174 | </div> |
| 175 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 176 | <li>include/grpc++/<a class="el" href="completion__queue_8h_source.html">completion_queue.h</a></li> |
| 177 | <li>include/grpc++/impl/<a class="el" href="rpc__service__method_8h_source.html">rpc_service_method.h</a></li> |
| 178 | </ul> |
| 179 | </div><!-- contents --> |
| 180 | <!-- start footer part --> |
| 181 | <hr class="footer"/><address class="footer"><small> |
| 182 | Generated on Wed Aug 5 2015 08:17:08 for GRPC C++ by  <a href="http://www.doxygen.org/index.html"> |
| 183 | <img class="footer" src="doxygen.png" alt="doxygen"/> |
| 184 | </a> 1.8.6 |
| 185 | </small></address> |
| 186 | </body> |
| 187 | </html> |