ProtoBuf.Reflect.Service.Method.html 15 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>JSDoc: Class: Method</title>
  6. <script src="scripts/prettify/prettify.js"> </script>
  7. <script src="scripts/prettify/lang-css.js"> </script>
  8. <!--[if lt IE 9]>
  9. <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  10. <![endif]-->
  11. <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
  12. <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
  13. </head>
  14. <body>
  15. <div id="main">
  16. <h1 class="page-title">Class: Method</h1>
  17. <section>
  18. <header>
  19. <h2>
  20. <span class="ancestors"><a href="ProtoBuf.html">ProtoBuf</a><a href="ProtoBuf.Reflect.html">.Reflect</a><a href="ProtoBuf.Reflect.Service.html">.Service</a>.</span>
  21. Method
  22. </h2>
  23. </header>
  24. <article>
  25. <div class="container-overview">
  26. <h4 class="name" id="Method"><span class="type-signature"></span>new Method<span class="signature">(builder<span class="signature-attributes">non-null</span>, svc<span class="signature-attributes">non-null</span>, name, options<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
  27. <div class="description">
  28. <p>Abstract service method.</p>
  29. </div>
  30. <h5>Parameters:</h5>
  31. <table class="params">
  32. <thead>
  33. <tr>
  34. <th>Name</th>
  35. <th>Type</th>
  36. <th>Attributes</th>
  37. <th class="last">Description</th>
  38. </tr>
  39. </thead>
  40. <tbody>
  41. <tr>
  42. <td class="name"><code>builder</code></td>
  43. <td class="type">
  44. <span class="param-type"><a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a></span>
  45. </td>
  46. <td class="attributes">
  47. </td>
  48. <td class="description last"><p>Builder reference</p></td>
  49. </tr>
  50. <tr>
  51. <td class="name"><code>svc</code></td>
  52. <td class="type">
  53. <span class="param-type"><a href="ProtoBuf.Reflect.Service.html">ProtoBuf.Reflect.Service</a></span>
  54. </td>
  55. <td class="attributes">
  56. </td>
  57. <td class="description last"><p>Service</p></td>
  58. </tr>
  59. <tr>
  60. <td class="name"><code>name</code></td>
  61. <td class="type">
  62. <span class="param-type">string</span>
  63. </td>
  64. <td class="attributes">
  65. </td>
  66. <td class="description last"><p>Method name</p></td>
  67. </tr>
  68. <tr>
  69. <td class="name"><code>options</code></td>
  70. <td class="type">
  71. <span class="param-type">Object.&lt;string, *></span>
  72. </td>
  73. <td class="attributes">
  74. &lt;optional><br>
  75. </td>
  76. <td class="description last"><p>Options</p></td>
  77. </tr>
  78. </tbody>
  79. </table>
  80. <dl class="details">
  81. <dt class="tag-source">Source:</dt>
  82. <dd class="tag-source"><ul class="dummy"><li>
  83. <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line4167">line 4167</a>
  84. </li></ul></dd>
  85. </dl>
  86. </div>
  87. <h3 class="subsection-title">Extends</h3>
  88. <ul>
  89. <li><a href="ProtoBuf.Reflect.T.html">ProtoBuf.Reflect.T</a></li>
  90. </ul>
  91. <h3 class="subsection-title">Members</h3>
  92. <h4 class="name" id="builder"><span class="type-signature">(non-null) </span>builder<span class="type-signature"> :<a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a></span></h4>
  93. <div class="description">
  94. <p>Builder reference.</p>
  95. </div>
  96. <h5>Type:</h5>
  97. <ul>
  98. <li>
  99. <span class="param-type"><a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a></span>
  100. </li>
  101. </ul>
  102. <dl class="details">
  103. <dt class="inherited-from">Inherited From:</dt>
  104. <dd class="inherited-from"><ul class="dummy"><li>
  105. <a href="ProtoBuf.Reflect.T.html#builder">ProtoBuf.Reflect.T#builder</a>
  106. </li></ul></dd>
  107. <dt class="tag-source">Source:</dt>
  108. <dd class="tag-source"><ul class="dummy"><li>
  109. <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1417">line 1417</a>
  110. </li></ul></dd>
  111. </dl>
  112. <h4 class="name" id="className"><span class="type-signature"></span>className<span class="type-signature"> :string</span></h4>
  113. <div class="description">
  114. <p>Fully qualified class name</p>
  115. </div>
  116. <h5>Type:</h5>
  117. <ul>
  118. <li>
  119. <span class="param-type">string</span>
  120. </li>
  121. </ul>
  122. <dl class="details">
  123. <dt class="tag-overrides">Overrides:</dt>
  124. <dd class="tag-overrides"><ul class="dummy"><li>
  125. <a href="ProtoBuf.Reflect.T.html#className">ProtoBuf.Reflect.T#className</a>
  126. </li></ul></dd>
  127. <dt class="tag-source">Source:</dt>
  128. <dd class="tag-source"><ul class="dummy"><li>
  129. <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1438">line 1438</a>
  130. </li></ul></dd>
  131. </dl>
  132. <h4 class="name" id="name"><span class="type-signature"></span>name<span class="type-signature"> :string</span></h4>
  133. <div class="description">
  134. <p>Object name in namespace.</p>
  135. </div>
  136. <h5>Type:</h5>
  137. <ul>
  138. <li>
  139. <span class="param-type">string</span>
  140. </li>
  141. </ul>
  142. <dl class="details">
  143. <dt class="inherited-from">Inherited From:</dt>
  144. <dd class="inherited-from"><ul class="dummy"><li>
  145. <a href="ProtoBuf.Reflect.T.html#name">ProtoBuf.Reflect.T#name</a>
  146. </li></ul></dd>
  147. <dt class="tag-source">Source:</dt>
  148. <dd class="tag-source"><ul class="dummy"><li>
  149. <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1431">line 1431</a>
  150. </li></ul></dd>
  151. </dl>
  152. <h4 class="name" id="options"><span class="type-signature"></span>options<span class="type-signature"> :Object.&lt;string, *></span></h4>
  153. <div class="description">
  154. <p>Options.</p>
  155. </div>
  156. <h5>Type:</h5>
  157. <ul>
  158. <li>
  159. <span class="param-type">Object.&lt;string, *></span>
  160. </li>
  161. </ul>
  162. <dl class="details">
  163. <dt class="tag-source">Source:</dt>
  164. <dd class="tag-source"><ul class="dummy"><li>
  165. <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line4180">line 4180</a>
  166. </li></ul></dd>
  167. </dl>
  168. <h4 class="name" id="parent"><span class="type-signature">(nullable) </span>parent<span class="type-signature"> :<a href="ProtoBuf.Reflect.T.html">ProtoBuf.Reflect.T</a></span></h4>
  169. <div class="description">
  170. <p>Parent object.</p>
  171. </div>
  172. <h5>Type:</h5>
  173. <ul>
  174. <li>
  175. <span class="param-type"><a href="ProtoBuf.Reflect.T.html">ProtoBuf.Reflect.T</a></span>
  176. </li>
  177. </ul>
  178. <dl class="details">
  179. <dt class="inherited-from">Inherited From:</dt>
  180. <dd class="inherited-from"><ul class="dummy"><li>
  181. <a href="ProtoBuf.Reflect.T.html#parent">ProtoBuf.Reflect.T#parent</a>
  182. </li></ul></dd>
  183. <dt class="tag-source">Source:</dt>
  184. <dd class="tag-source"><ul class="dummy"><li>
  185. <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1424">line 1424</a>
  186. </li></ul></dd>
  187. </dl>
  188. <h3 class="subsection-title">Methods</h3>
  189. <h4 class="name" id="build"><span class="type-signature"></span>build<span class="signature">()</span><span class="type-signature"></span></h4>
  190. <div class="description">
  191. <p>Builds this type.</p>
  192. </div>
  193. <dl class="details">
  194. <dt class="inherited-from">Inherited From:</dt>
  195. <dd class="inherited-from"><ul class="dummy"><li>
  196. <a href="ProtoBuf.Reflect.T.html#build">ProtoBuf.Reflect.T#build</a>
  197. </li></ul></dd>
  198. <dt class="tag-source">Source:</dt>
  199. <dd class="tag-source"><ul class="dummy"><li>
  200. <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1479">line 1479</a>
  201. </li></ul></dd>
  202. </dl>
  203. <h5>Throws:</h5>
  204. <dl>
  205. <dt>
  206. <div class="param-desc">
  207. <p>If this type cannot be built directly</p>
  208. </div>
  209. </dt>
  210. <dd></dd>
  211. <dt>
  212. <dl>
  213. <dt>
  214. Type
  215. </dt>
  216. <dd>
  217. <span class="param-type">Error</span>
  218. </dd>
  219. </dl>
  220. </dt>
  221. <dd></dd>
  222. </dl>
  223. <h4 class="name" id="buildOpt"><span class="type-signature"></span>buildOpt<span class="signature">()</span><span class="type-signature"> &rarr; {Object.&lt;string, *>}</span></h4>
  224. <div class="description">
  225. <p>Builds the method's '$options' property.</p>
  226. </div>
  227. <dl class="details">
  228. <dt class="tag-source">Source:</dt>
  229. <dd class="tag-source"><ul class="dummy"><li>
  230. <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line4189">line 4189</a>
  231. </li></ul></dd>
  232. </dl>
  233. <h5>Returns:</h5>
  234. <dl>
  235. <dt>
  236. Type
  237. </dt>
  238. <dd>
  239. <span class="param-type">Object.&lt;string, *></span>
  240. </dd>
  241. </dl>
  242. <h4 class="name" id="fqn"><span class="type-signature"></span>fqn<span class="signature">()</span><span class="type-signature"> &rarr; {string}</span></h4>
  243. <div class="description">
  244. <p>Returns the fully qualified name of this object.</p>
  245. </div>
  246. <dl class="details">
  247. <dt class="inherited-from">Inherited From:</dt>
  248. <dd class="inherited-from"><ul class="dummy"><li>
  249. <a href="ProtoBuf.Reflect.T.html#fqn">ProtoBuf.Reflect.T#fqn</a>
  250. </li></ul></dd>
  251. <dt class="tag-source">Source:</dt>
  252. <dd class="tag-source"><ul class="dummy"><li>
  253. <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1452">line 1452</a>
  254. </li></ul></dd>
  255. </dl>
  256. <h5>Returns:</h5>
  257. <div class="param-desc">
  258. <p>Fully qualified name as of &quot;.PATH.TO.THIS&quot;</p>
  259. </div>
  260. <dl>
  261. <dt>
  262. Type
  263. </dt>
  264. <dd>
  265. <span class="param-type">string</span>
  266. </dd>
  267. </dl>
  268. <h4 class="name" id="toString"><span class="type-signature"></span>toString<span class="signature">(includeClass<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
  269. <div class="description">
  270. <p>Returns a string representation of this Reflect object (its fully qualified name).</p>
  271. </div>
  272. <h5>Parameters:</h5>
  273. <table class="params">
  274. <thead>
  275. <tr>
  276. <th>Name</th>
  277. <th>Type</th>
  278. <th>Attributes</th>
  279. <th class="last">Description</th>
  280. </tr>
  281. </thead>
  282. <tbody>
  283. <tr>
  284. <td class="name"><code>includeClass</code></td>
  285. <td class="type">
  286. <span class="param-type">boolean</span>
  287. </td>
  288. <td class="attributes">
  289. &lt;optional><br>
  290. </td>
  291. <td class="description last"><p>Set to true to include the class name. Defaults to false.</p></td>
  292. </tr>
  293. </tbody>
  294. </table>
  295. <dl class="details">
  296. <dt class="inherited-from">Inherited From:</dt>
  297. <dd class="inherited-from"><ul class="dummy"><li>
  298. <a href="ProtoBuf.Reflect.T.html#toString">ProtoBuf.Reflect.T#toString</a>
  299. </li></ul></dd>
  300. <dt class="tag-source">Source:</dt>
  301. <dd class="tag-source"><ul class="dummy"><li>
  302. <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1470">line 1470</a>
  303. </li></ul></dd>
  304. </dl>
  305. <h5>Returns:</h5>
  306. <div class="param-desc">
  307. <p>String representation</p>
  308. </div>
  309. </article>
  310. </section>
  311. </div>
  312. <nav>
  313. <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="ProtoBuf.Builder.html">Builder</a></li><li><a href="ProtoBuf.Builder.Message.html">Message</a></li><li><a href="ProtoBuf.Builder.Service.html">Service</a></li><li><a href="ProtoBuf.DotProto.Parser.html">Parser</a></li><li><a href="ProtoBuf.DotProto.Tokenizer.html">Tokenizer</a></li><li><a href="ProtoBuf.Map.html">Map</a></li><li><a href="ProtoBuf.Reflect.Element.html">Element</a></li><li><a href="ProtoBuf.Reflect.Enum.html">Enum</a></li><li><a href="ProtoBuf.Reflect.Enum.Value.html">Value</a></li><li><a href="ProtoBuf.Reflect.Extension.html">Extension</a></li><li><a href="ProtoBuf.Reflect.Message.html">Message</a></li><li><a href="ProtoBuf.Reflect.Message.ExtensionField.html">ExtensionField</a></li><li><a href="ProtoBuf.Reflect.Message.Field.html">Field</a></li><li><a href="ProtoBuf.Reflect.Message.OneOf.html">OneOf</a></li><li><a href="ProtoBuf.Reflect.Namespace.html">Namespace</a></li><li><a href="ProtoBuf.Reflect.Service.html">Service</a></li><li><a href="ProtoBuf.Reflect.Service.Method.html">Method</a></li><li><a href="ProtoBuf.Reflect.Service.RPCMethod.html">RPCMethod</a></li><li><a href="ProtoBuf.Reflect.T.html">T</a></li></ul><h3>Namespaces</h3><ul><li><a href="ProtoBuf.html">ProtoBuf</a></li><li><a href="ProtoBuf.DotProto.html">DotProto</a></li><li><a href="ProtoBuf.Reflect.html">Reflect</a></li><li><a href="ProtoBuf.Util.html">Util</a></li></ul>
  314. </nav>
  315. <br class="clear">
  316. <footer>
  317. Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.3</a> on Fri Jan 27 2017 17:03:55 GMT+0100 (Mitteleuropäische Zeit)
  318. </footer>
  319. <script> prettyPrint(); </script>
  320. <script src="scripts/linenumber.js"> </script>
  321. </body>
  322. </html>