grpc.framework.base.html 63 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023
  1. <!DOCTYPE html>
  2. <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
  3. <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
  4. <head>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>grpc.framework.base package &mdash; grpcio 0.13.1rc1 documentation</title>
  8. <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
  9. <link rel="top" title="grpcio 0.13.1rc1 documentation" href="index.html"/>
  10. <link rel="up" title="grpc.framework package" href="grpc.framework.html"/>
  11. <link rel="next" title="grpc.framework.common package" href="grpc.framework.common.html"/>
  12. <link rel="prev" title="grpc.framework.alpha package" href="grpc.framework.alpha.html"/>
  13. <script src="_static/js/modernizr.min.js"></script>
  14. </head>
  15. <body class="wy-body-for-nav" role="document">
  16. <div class="wy-grid-for-nav">
  17. <nav data-toggle="wy-nav-shift" class="wy-nav-side">
  18. <div class="wy-side-scroll">
  19. <div class="wy-side-nav-search">
  20. <a href="index.html" class="icon icon-home"> grpcio
  21. </a>
  22. <div class="version">
  23. 0.13.1rc1
  24. </div>
  25. <div role="search">
  26. <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
  27. <input type="text" name="q" placeholder="Search docs" />
  28. <input type="hidden" name="check_keywords" value="yes" />
  29. <input type="hidden" name="area" value="default" />
  30. </form>
  31. </div>
  32. </div>
  33. <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
  34. <ul class="current">
  35. <li class="toctree-l1 current"><a class="reference internal" href="grpc.html">grpc package</a><ul class="current">
  36. <li class="toctree-l2 current"><a class="reference internal" href="grpc.html#subpackages">Subpackages</a><ul class="current">
  37. <li class="toctree-l3"><a class="reference internal" href="grpc.beta.html">grpc.beta package</a></li>
  38. <li class="toctree-l3"><a class="reference internal" href="grpc.early_adopter.html">grpc.early_adopter package</a></li>
  39. <li class="toctree-l3 current"><a class="reference internal" href="grpc.framework.html">grpc.framework package</a><ul class="current">
  40. <li class="toctree-l4 current"><a class="reference internal" href="grpc.framework.html#subpackages">Subpackages</a></li>
  41. <li class="toctree-l4"><a class="reference internal" href="grpc.framework.html#module-grpc.framework">Module contents</a></li>
  42. </ul>
  43. </li>
  44. </ul>
  45. </li>
  46. <li class="toctree-l2"><a class="reference internal" href="grpc.html#module-grpc">Module contents</a></li>
  47. </ul>
  48. </li>
  49. </ul>
  50. </div>
  51. </div>
  52. </nav>
  53. <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
  54. <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
  55. <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
  56. <a href="index.html">grpcio</a>
  57. </nav>
  58. <div class="wy-nav-content">
  59. <div class="rst-content">
  60. <div role="navigation" aria-label="breadcrumbs navigation">
  61. <ul class="wy-breadcrumbs">
  62. <li><a href="index.html">Docs</a> &raquo;</li>
  63. <li><a href="grpc.html">grpc package</a> &raquo;</li>
  64. <li><a href="grpc.framework.html">grpc.framework package</a> &raquo;</li>
  65. <li>grpc.framework.base package</li>
  66. <li class="wy-breadcrumbs-aside">
  67. <a href="_sources/grpc.framework.base.txt" rel="nofollow"> View page source</a>
  68. </li>
  69. </ul>
  70. <hr/>
  71. </div>
  72. <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
  73. <div itemprop="articleBody">
  74. <div class="section" id="grpc-framework-base-package">
  75. <h1>grpc.framework.base package<a class="headerlink" href="#grpc-framework-base-package" title="Permalink to this headline">¶</a></h1>
  76. <div class="section" id="submodules">
  77. <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
  78. </div>
  79. <div class="section" id="module-grpc.framework.base.exceptions">
  80. <span id="grpc-framework-base-exceptions-module"></span><h2>grpc.framework.base.exceptions module<a class="headerlink" href="#module-grpc.framework.base.exceptions" title="Permalink to this headline">¶</a></h2>
  81. <p>Exceptions defined and used by the base layer of RPC Framework.</p>
  82. <dl class="exception">
  83. <dt id="grpc.framework.base.exceptions.NoSuchMethodError">
  84. <em class="property">exception </em><code class="descclassname">grpc.framework.base.exceptions.</code><code class="descname">NoSuchMethodError</code><a class="reference internal" href="_modules/grpc/framework/base/exceptions.html#NoSuchMethodError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.exceptions.NoSuchMethodError" title="Permalink to this definition">¶</a></dt>
  85. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">exceptions.Exception</span></code></p>
  86. <p>Indicates that an operation with an unrecognized name has been called.</p>
  87. </dd></dl>
  88. </div>
  89. <div class="section" id="module-grpc.framework.base.implementations">
  90. <span id="grpc-framework-base-implementations-module"></span><h2>grpc.framework.base.implementations module<a class="headerlink" href="#module-grpc.framework.base.implementations" title="Permalink to this headline">¶</a></h2>
  91. <p>Entry points into the ticket-exchange-based base layer implementation.</p>
  92. <dl class="function">
  93. <dt id="grpc.framework.base.implementations.back_link">
  94. <code class="descclassname">grpc.framework.base.implementations.</code><code class="descname">back_link</code><span class="sig-paren">(</span><em>servicer</em>, <em>work_pool</em>, <em>transmission_pool</em>, <em>utility_pool</em>, <em>default_timeout</em>, <em>maximum_timeout</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/implementations.html#back_link"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.implementations.back_link" title="Permalink to this definition">¶</a></dt>
  95. <dd><p>Factory function for creating interfaces.BackLinks.</p>
  96. <table class="docutils field-list" frame="void" rules="none">
  97. <col class="field-name" />
  98. <col class="field-body" />
  99. <tbody valign="top">
  100. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  101. <li><strong>servicer</strong> &#8211; An interfaces.Servicer for servicing operations.</li>
  102. <li><strong>work_pool</strong> &#8211; A thread pool to be used for doing work within the created
  103. BackLink object.</li>
  104. <li><strong>transmission_pool</strong> &#8211; A thread pool to be used within the created BackLink
  105. object for transmitting values to a joined ForeLink object.</li>
  106. <li><strong>utility_pool</strong> &#8211; A thread pool to be used within the created BackLink object
  107. for utility tasks.</li>
  108. <li><strong>default_timeout</strong> &#8211; A length of time in seconds to be used as the default
  109. time alloted for a single operation.</li>
  110. <li><strong>maximum_timeout</strong> &#8211; A length of time in seconds to be used as the maximum
  111. time alloted for a single operation.</li>
  112. </ul>
  113. </td>
  114. </tr>
  115. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">An interfaces.BackLink.</p>
  116. </td>
  117. </tr>
  118. </tbody>
  119. </table>
  120. </dd></dl>
  121. <dl class="function">
  122. <dt id="grpc.framework.base.implementations.front_link">
  123. <code class="descclassname">grpc.framework.base.implementations.</code><code class="descname">front_link</code><span class="sig-paren">(</span><em>work_pool</em>, <em>transmission_pool</em>, <em>utility_pool</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/implementations.html#front_link"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.implementations.front_link" title="Permalink to this definition">¶</a></dt>
  124. <dd><p>Factory function for creating interfaces.FrontLinks.</p>
  125. <table class="docutils field-list" frame="void" rules="none">
  126. <col class="field-name" />
  127. <col class="field-body" />
  128. <tbody valign="top">
  129. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  130. <li><strong>work_pool</strong> &#8211; A thread pool to be used for doing work within the created
  131. FrontLink object.</li>
  132. <li><strong>transmission_pool</strong> &#8211; A thread pool to be used within the created FrontLink
  133. object for transmitting values to a joined RearLink object.</li>
  134. <li><strong>utility_pool</strong> &#8211; A thread pool to be used within the created FrontLink object
  135. for utility tasks.</li>
  136. </ul>
  137. </td>
  138. </tr>
  139. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">An interfaces.FrontLink.</p>
  140. </td>
  141. </tr>
  142. </tbody>
  143. </table>
  144. </dd></dl>
  145. </div>
  146. <div class="section" id="module-grpc.framework.base.in_memory">
  147. <span id="grpc-framework-base-in-memory-module"></span><h2>grpc.framework.base.in_memory module<a class="headerlink" href="#module-grpc.framework.base.in_memory" title="Permalink to this headline">¶</a></h2>
  148. <p>In-memory implementations of base layer interfaces.</p>
  149. <dl class="class">
  150. <dt id="grpc.framework.base.in_memory.Link">
  151. <em class="property">class </em><code class="descclassname">grpc.framework.base.in_memory.</code><code class="descname">Link</code><span class="sig-paren">(</span><em>pool</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/in_memory.html#Link"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.in_memory.Link" title="Permalink to this definition">¶</a></dt>
  152. <dd><p>Bases: <a class="reference internal" href="#grpc.framework.base.interfaces.ForeLink" title="grpc.framework.base.interfaces.ForeLink"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.base.interfaces.ForeLink</span></code></a>, <a class="reference internal" href="#grpc.framework.base.interfaces.RearLink" title="grpc.framework.base.interfaces.RearLink"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.base.interfaces.RearLink</span></code></a></p>
  153. <p>A trivial implementation of interfaces.ForeLink and interfaces.RearLink.</p>
  154. <dl class="method">
  155. <dt id="grpc.framework.base.in_memory.Link.accept_back_to_front_ticket">
  156. <code class="descname">accept_back_to_front_ticket</code><span class="sig-paren">(</span><em>ticket</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/in_memory.html#Link.accept_back_to_front_ticket"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.in_memory.Link.accept_back_to_front_ticket" title="Permalink to this definition">¶</a></dt>
  157. <dd><p>See interfaces.RearLink.accept_back_to_front_ticket for specification.</p>
  158. </dd></dl>
  159. <dl class="method">
  160. <dt id="grpc.framework.base.in_memory.Link.accept_front_to_back_ticket">
  161. <code class="descname">accept_front_to_back_ticket</code><span class="sig-paren">(</span><em>ticket</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/in_memory.html#Link.accept_front_to_back_ticket"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.in_memory.Link.accept_front_to_back_ticket" title="Permalink to this definition">¶</a></dt>
  162. <dd><p>See interfaces.ForeLink.accept_front_to_back_ticket for specification.</p>
  163. </dd></dl>
  164. <dl class="method">
  165. <dt id="grpc.framework.base.in_memory.Link.join_fore_link">
  166. <code class="descname">join_fore_link</code><span class="sig-paren">(</span><em>fore_link</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/in_memory.html#Link.join_fore_link"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.in_memory.Link.join_fore_link" title="Permalink to this definition">¶</a></dt>
  167. <dd><p>See interfaces.RearLink.join_fore_link for specification.</p>
  168. </dd></dl>
  169. <dl class="method">
  170. <dt id="grpc.framework.base.in_memory.Link.join_rear_link">
  171. <code class="descname">join_rear_link</code><span class="sig-paren">(</span><em>rear_link</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/in_memory.html#Link.join_rear_link"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.in_memory.Link.join_rear_link" title="Permalink to this definition">¶</a></dt>
  172. <dd><p>See interfaces.ForeLink.join_rear_link for specification.</p>
  173. </dd></dl>
  174. </dd></dl>
  175. </div>
  176. <div class="section" id="module-grpc.framework.base.interfaces">
  177. <span id="grpc-framework-base-interfaces-module"></span><h2>grpc.framework.base.interfaces module<a class="headerlink" href="#module-grpc.framework.base.interfaces" title="Permalink to this headline">¶</a></h2>
  178. <p>Interfaces defined and used by the base layer of RPC Framework.</p>
  179. <dl class="class">
  180. <dt id="grpc.framework.base.interfaces.Back">
  181. <em class="property">class </em><code class="descclassname">grpc.framework.base.interfaces.</code><code class="descname">Back</code><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#Back"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.Back" title="Permalink to this definition">¶</a></dt>
  182. <dd><p>Bases: <a class="reference internal" href="#grpc.framework.base.interfaces.End" title="grpc.framework.base.interfaces.End"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.base.interfaces.End</span></code></a></p>
  183. <p>Serverish objects that perform the work of operations.</p>
  184. </dd></dl>
  185. <dl class="class">
  186. <dt id="grpc.framework.base.interfaces.BackLink">
  187. <em class="property">class </em><code class="descclassname">grpc.framework.base.interfaces.</code><code class="descname">BackLink</code><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#BackLink"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.BackLink" title="Permalink to this definition">¶</a></dt>
  188. <dd><p>Bases: <a class="reference internal" href="#grpc.framework.base.interfaces.Back" title="grpc.framework.base.interfaces.Back"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.base.interfaces.Back</span></code></a>, <a class="reference internal" href="#grpc.framework.base.interfaces.RearLink" title="grpc.framework.base.interfaces.RearLink"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.base.interfaces.RearLink</span></code></a></p>
  189. <p>Serverish objects that operate by sending and receiving tickets.</p>
  190. </dd></dl>
  191. <dl class="class">
  192. <dt id="grpc.framework.base.interfaces.BackToFrontTicket">
  193. <em class="property">class </em><code class="descclassname">grpc.framework.base.interfaces.</code><code class="descname">BackToFrontTicket</code><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#BackToFrontTicket"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.BackToFrontTicket" title="Permalink to this definition">¶</a></dt>
  194. <dd><p>Bases: <a class="reference internal" href="#grpc.framework.base.interfaces.BackToFrontTicket" title="grpc.framework.base.interfaces.BackToFrontTicket"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.base.interfaces.BackToFrontTicket</span></code></a></p>
  195. <p>A sum type for all values sent from a back to a front.</p>
  196. <dl class="attribute">
  197. <dt id="grpc.framework.base.interfaces.BackToFrontTicket.operation_id">
  198. <code class="descname">operation_id</code><a class="headerlink" href="#grpc.framework.base.interfaces.BackToFrontTicket.operation_id" title="Permalink to this definition">¶</a></dt>
  199. <dd><p>A unique-with-respect-to-equality hashable object identifying
  200. a particular operation.</p>
  201. </dd></dl>
  202. <dl class="attribute">
  203. <dt id="grpc.framework.base.interfaces.BackToFrontTicket.sequence_number">
  204. <code class="descname">sequence_number</code><a class="headerlink" href="#grpc.framework.base.interfaces.BackToFrontTicket.sequence_number" title="Permalink to this definition">¶</a></dt>
  205. <dd><p>A zero-indexed integer sequence number identifying the
  206. ticket&#8217;s place among all the tickets sent from back to front for this
  207. particular operation.</p>
  208. </dd></dl>
  209. <dl class="attribute">
  210. <dt id="grpc.framework.base.interfaces.BackToFrontTicket.kind">
  211. <code class="descname">kind</code><a class="headerlink" href="#grpc.framework.base.interfaces.BackToFrontTicket.kind" title="Permalink to this definition">¶</a></dt>
  212. <dd><p>A Kind value describing the overall kind of ticket.</p>
  213. </dd></dl>
  214. <dl class="attribute">
  215. <dt id="grpc.framework.base.interfaces.BackToFrontTicket.payload">
  216. <code class="descname">payload</code><a class="headerlink" href="#grpc.framework.base.interfaces.BackToFrontTicket.payload" title="Permalink to this definition">¶</a></dt>
  217. <dd><p>A customer payload object. Must be present if kind is
  218. Kind.CONTINUATION. May be None if kind is Kind.COMPLETION. Must be None
  219. otherwise.</p>
  220. </dd></dl>
  221. <dl class="class">
  222. <dt id="grpc.framework.base.interfaces.BackToFrontTicket.Kind">
  223. <em class="property">class </em><code class="descname">Kind</code><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#BackToFrontTicket.Kind"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.BackToFrontTicket.Kind" title="Permalink to this definition">¶</a></dt>
  224. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">enum.Enum</span></code></p>
  225. <p>Identifies the overall kind of a BackToFrontTicket.</p>
  226. <dl class="attribute">
  227. <dt id="grpc.framework.base.interfaces.BackToFrontTicket.Kind.CANCELLATION">
  228. <code class="descname">CANCELLATION</code><em class="property"> = &lt;Kind.CANCELLATION: 'cancellation'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.BackToFrontTicket.Kind.CANCELLATION" title="Permalink to this definition">¶</a></dt>
  229. <dd></dd></dl>
  230. <dl class="attribute">
  231. <dt id="grpc.framework.base.interfaces.BackToFrontTicket.Kind.COMPLETION">
  232. <code class="descname">COMPLETION</code><em class="property"> = &lt;Kind.COMPLETION: 'completion'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.BackToFrontTicket.Kind.COMPLETION" title="Permalink to this definition">¶</a></dt>
  233. <dd></dd></dl>
  234. <dl class="attribute">
  235. <dt id="grpc.framework.base.interfaces.BackToFrontTicket.Kind.CONTINUATION">
  236. <code class="descname">CONTINUATION</code><em class="property"> = &lt;Kind.CONTINUATION: 'continuation'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.BackToFrontTicket.Kind.CONTINUATION" title="Permalink to this definition">¶</a></dt>
  237. <dd></dd></dl>
  238. <dl class="attribute">
  239. <dt id="grpc.framework.base.interfaces.BackToFrontTicket.Kind.EXPIRATION">
  240. <code class="descname">EXPIRATION</code><em class="property"> = &lt;Kind.EXPIRATION: 'expiration'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.BackToFrontTicket.Kind.EXPIRATION" title="Permalink to this definition">¶</a></dt>
  241. <dd></dd></dl>
  242. <dl class="attribute">
  243. <dt id="grpc.framework.base.interfaces.BackToFrontTicket.Kind.RECEPTION_FAILURE">
  244. <code class="descname">RECEPTION_FAILURE</code><em class="property"> = &lt;Kind.RECEPTION_FAILURE: 'reception failure'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.BackToFrontTicket.Kind.RECEPTION_FAILURE" title="Permalink to this definition">¶</a></dt>
  245. <dd></dd></dl>
  246. <dl class="attribute">
  247. <dt id="grpc.framework.base.interfaces.BackToFrontTicket.Kind.SERVICED_FAILURE">
  248. <code class="descname">SERVICED_FAILURE</code><em class="property"> = &lt;Kind.SERVICED_FAILURE: 'serviced failure'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.BackToFrontTicket.Kind.SERVICED_FAILURE" title="Permalink to this definition">¶</a></dt>
  249. <dd></dd></dl>
  250. <dl class="attribute">
  251. <dt id="grpc.framework.base.interfaces.BackToFrontTicket.Kind.SERVICER_FAILURE">
  252. <code class="descname">SERVICER_FAILURE</code><em class="property"> = &lt;Kind.SERVICER_FAILURE: 'servicer failure'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.BackToFrontTicket.Kind.SERVICER_FAILURE" title="Permalink to this definition">¶</a></dt>
  253. <dd></dd></dl>
  254. <dl class="attribute">
  255. <dt id="grpc.framework.base.interfaces.BackToFrontTicket.Kind.TRANSMISSION_FAILURE">
  256. <code class="descname">TRANSMISSION_FAILURE</code><em class="property"> = &lt;Kind.TRANSMISSION_FAILURE: 'transmission failure'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.BackToFrontTicket.Kind.TRANSMISSION_FAILURE" title="Permalink to this definition">¶</a></dt>
  257. <dd></dd></dl>
  258. </dd></dl>
  259. </dd></dl>
  260. <dl class="class">
  261. <dt id="grpc.framework.base.interfaces.End">
  262. <em class="property">class </em><code class="descclassname">grpc.framework.base.interfaces.</code><code class="descname">End</code><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#End"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.End" title="Permalink to this definition">¶</a></dt>
  263. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  264. <p>Common type for entry-point objects on both sides of an operation.</p>
  265. <dl class="method">
  266. <dt id="grpc.framework.base.interfaces.End.add_idle_action">
  267. <code class="descname">add_idle_action</code><span class="sig-paren">(</span><em>action</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#End.add_idle_action"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.End.add_idle_action" title="Permalink to this definition">¶</a></dt>
  268. <dd><p>Adds an action to be called when this End has no ongoing operations.</p>
  269. <table class="docutils field-list" frame="void" rules="none">
  270. <col class="field-name" />
  271. <col class="field-body" />
  272. <tbody valign="top">
  273. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>action</strong> &#8211; A callable that accepts no arguments.</td>
  274. </tr>
  275. </tbody>
  276. </table>
  277. </dd></dl>
  278. <dl class="method">
  279. <dt id="grpc.framework.base.interfaces.End.operation_stats">
  280. <code class="descname">operation_stats</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#End.operation_stats"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.End.operation_stats" title="Permalink to this definition">¶</a></dt>
  281. <dd><p>Reports the number of terminated operations broken down by outcome.</p>
  282. <table class="docutils field-list" frame="void" rules="none">
  283. <col class="field-name" />
  284. <col class="field-body" />
  285. <tbody valign="top">
  286. <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><dl class="docutils">
  287. <dt>A dictionary from Outcome value to an integer identifying the number</dt>
  288. <dd>of operations that terminated with that outcome.</dd>
  289. </dl>
  290. </td>
  291. </tr>
  292. </tbody>
  293. </table>
  294. </dd></dl>
  295. </dd></dl>
  296. <dl class="class">
  297. <dt id="grpc.framework.base.interfaces.ForeLink">
  298. <em class="property">class </em><code class="descclassname">grpc.framework.base.interfaces.</code><code class="descname">ForeLink</code><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#ForeLink"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.ForeLink" title="Permalink to this definition">¶</a></dt>
  299. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  300. <p>Accepts back-to-front tickets and emits front-to-back tickets.</p>
  301. <dl class="method">
  302. <dt id="grpc.framework.base.interfaces.ForeLink.accept_back_to_front_ticket">
  303. <code class="descname">accept_back_to_front_ticket</code><span class="sig-paren">(</span><em>ticket</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#ForeLink.accept_back_to_front_ticket"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.ForeLink.accept_back_to_front_ticket" title="Permalink to this definition">¶</a></dt>
  304. <dd><p>Accept a BackToFrontTicket.</p>
  305. <table class="docutils field-list" frame="void" rules="none">
  306. <col class="field-name" />
  307. <col class="field-body" />
  308. <tbody valign="top">
  309. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>ticket</strong> &#8211; Any BackToFrontTicket.</td>
  310. </tr>
  311. </tbody>
  312. </table>
  313. </dd></dl>
  314. <dl class="method">
  315. <dt id="grpc.framework.base.interfaces.ForeLink.join_rear_link">
  316. <code class="descname">join_rear_link</code><span class="sig-paren">(</span><em>rear_link</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#ForeLink.join_rear_link"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.ForeLink.join_rear_link" title="Permalink to this definition">¶</a></dt>
  317. <dd><p>Mates this object with a peer with which it will exchange tickets.</p>
  318. </dd></dl>
  319. </dd></dl>
  320. <dl class="class">
  321. <dt id="grpc.framework.base.interfaces.Front">
  322. <em class="property">class </em><code class="descclassname">grpc.framework.base.interfaces.</code><code class="descname">Front</code><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#Front"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.Front" title="Permalink to this definition">¶</a></dt>
  323. <dd><p>Bases: <a class="reference internal" href="#grpc.framework.base.interfaces.End" title="grpc.framework.base.interfaces.End"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.base.interfaces.End</span></code></a></p>
  324. <p>Clientish objects that afford the invocation of operations.</p>
  325. <dl class="method">
  326. <dt id="grpc.framework.base.interfaces.Front.operate">
  327. <code class="descname">operate</code><span class="sig-paren">(</span><em>name</em>, <em>payload</em>, <em>complete</em>, <em>timeout</em>, <em>subscription</em>, <em>trace_id</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#Front.operate"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.Front.operate" title="Permalink to this definition">¶</a></dt>
  328. <dd><p>Commences an operation.</p>
  329. <table class="docutils field-list" frame="void" rules="none">
  330. <col class="field-name" />
  331. <col class="field-body" />
  332. <tbody valign="top">
  333. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  334. <li><strong>name</strong> &#8211; The name of the method invoked for the operation.</li>
  335. <li><strong>payload</strong> &#8211; An initial payload for the operation. May be None.</li>
  336. <li><strong>complete</strong> &#8211; A boolean indicating whether or not additional payloads to be
  337. sent to the servicer may be supplied after this call.</li>
  338. <li><strong>timeout</strong> &#8211; A length of time in seconds to allow for the operation.</li>
  339. <li><strong>subscription</strong> &#8211; A ServicedSubscription for the operation.</li>
  340. <li><strong>trace_id</strong> &#8211; A uuid.UUID identifying a set of related operations to which
  341. this operation belongs.</li>
  342. </ul>
  343. </td>
  344. </tr>
  345. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><dl class="docutils">
  346. <dt>An Operation object affording information and action about the operation</dt>
  347. <dd><p class="first last">in progress.</p>
  348. </dd>
  349. </dl>
  350. </p>
  351. </td>
  352. </tr>
  353. </tbody>
  354. </table>
  355. </dd></dl>
  356. </dd></dl>
  357. <dl class="class">
  358. <dt id="grpc.framework.base.interfaces.FrontLink">
  359. <em class="property">class </em><code class="descclassname">grpc.framework.base.interfaces.</code><code class="descname">FrontLink</code><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#FrontLink"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.FrontLink" title="Permalink to this definition">¶</a></dt>
  360. <dd><p>Bases: <a class="reference internal" href="#grpc.framework.base.interfaces.Front" title="grpc.framework.base.interfaces.Front"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.base.interfaces.Front</span></code></a>, <a class="reference internal" href="#grpc.framework.base.interfaces.ForeLink" title="grpc.framework.base.interfaces.ForeLink"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.base.interfaces.ForeLink</span></code></a></p>
  361. <p>Clientish objects that operate by sending and receiving tickets.</p>
  362. </dd></dl>
  363. <dl class="class">
  364. <dt id="grpc.framework.base.interfaces.FrontToBackTicket">
  365. <em class="property">class </em><code class="descclassname">grpc.framework.base.interfaces.</code><code class="descname">FrontToBackTicket</code><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#FrontToBackTicket"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket" title="Permalink to this definition">¶</a></dt>
  366. <dd><p>Bases: <a class="reference internal" href="#grpc.framework.base.interfaces.FrontToBackTicket" title="grpc.framework.base.interfaces.FrontToBackTicket"><code class="xref py py-class docutils literal"><span class="pre">grpc.framework.base.interfaces.FrontToBackTicket</span></code></a></p>
  367. <p>A sum type for all values sent from a front to a back.</p>
  368. <dl class="attribute">
  369. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.operation_id">
  370. <code class="descname">operation_id</code><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.operation_id" title="Permalink to this definition">¶</a></dt>
  371. <dd><p>A unique-with-respect-to-equality hashable object identifying
  372. a particular operation.</p>
  373. </dd></dl>
  374. <dl class="attribute">
  375. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.sequence_number">
  376. <code class="descname">sequence_number</code><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.sequence_number" title="Permalink to this definition">¶</a></dt>
  377. <dd><p>A zero-indexed integer sequence number identifying the
  378. ticket&#8217;s place among all the tickets sent from front to back for this
  379. particular operation. Must be zero if kind is Kind.COMMENCEMENT or
  380. Kind.ENTIRE. Must be positive for any other kind.</p>
  381. </dd></dl>
  382. <dl class="attribute">
  383. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.kind">
  384. <code class="descname">kind</code><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.kind" title="Permalink to this definition">¶</a></dt>
  385. <dd><p>A Kind value describing the overall kind of ticket.</p>
  386. </dd></dl>
  387. <dl class="attribute">
  388. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.name">
  389. <code class="descname">name</code><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.name" title="Permalink to this definition">¶</a></dt>
  390. <dd><p>The name of an operation. Must be present if kind is Kind.COMMENCEMENT
  391. or Kind.ENTIRE. Must be None for any other kind.</p>
  392. </dd></dl>
  393. <dl class="attribute">
  394. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.subscription">
  395. <code class="descname">subscription</code><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.subscription" title="Permalink to this definition">¶</a></dt>
  396. <dd><p>An ServicedSubscription.Kind value describing the interest
  397. the front has in tickets sent from the back. Must be present if
  398. kind is Kind.COMMENCEMENT or Kind.ENTIRE. Must be None for any other kind.</p>
  399. </dd></dl>
  400. <dl class="attribute">
  401. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.trace_id">
  402. <code class="descname">trace_id</code><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.trace_id" title="Permalink to this definition">¶</a></dt>
  403. <dd><p>A uuid.UUID identifying a set of related operations to which this
  404. operation belongs. May be None.</p>
  405. </dd></dl>
  406. <dl class="attribute">
  407. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.payload">
  408. <code class="descname">payload</code><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.payload" title="Permalink to this definition">¶</a></dt>
  409. <dd><p>A customer payload object. Must be present if kind is
  410. Kind.CONTINUATION. Must be None if kind is Kind.CANCELLATION. May be None
  411. for any other kind.</p>
  412. </dd></dl>
  413. <dl class="attribute">
  414. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.timeout">
  415. <code class="descname">timeout</code><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.timeout" title="Permalink to this definition">¶</a></dt>
  416. <dd><p>An optional length of time (measured from the beginning of the
  417. operation) to allow for the entire operation. If None, a default value on
  418. the back will be used. If present and excessively large, the back may
  419. limit the operation to a smaller duration of its choice. May be present
  420. for any ticket kind; setting a value on a later ticket allows fronts
  421. to request time extensions (or even time reductions!) on in-progress
  422. operations.</p>
  423. </dd></dl>
  424. <dl class="class">
  425. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.Kind">
  426. <em class="property">class </em><code class="descname">Kind</code><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#FrontToBackTicket.Kind"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.Kind" title="Permalink to this definition">¶</a></dt>
  427. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">enum.Enum</span></code></p>
  428. <p>Identifies the overall kind of a FrontToBackTicket.</p>
  429. <dl class="attribute">
  430. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.Kind.CANCELLATION">
  431. <code class="descname">CANCELLATION</code><em class="property"> = &lt;Kind.CANCELLATION: 'cancellation'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.Kind.CANCELLATION" title="Permalink to this definition">¶</a></dt>
  432. <dd></dd></dl>
  433. <dl class="attribute">
  434. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.Kind.COMMENCEMENT">
  435. <code class="descname">COMMENCEMENT</code><em class="property"> = &lt;Kind.COMMENCEMENT: 'commencement'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.Kind.COMMENCEMENT" title="Permalink to this definition">¶</a></dt>
  436. <dd></dd></dl>
  437. <dl class="attribute">
  438. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.Kind.COMPLETION">
  439. <code class="descname">COMPLETION</code><em class="property"> = &lt;Kind.COMPLETION: 'completion'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.Kind.COMPLETION" title="Permalink to this definition">¶</a></dt>
  440. <dd></dd></dl>
  441. <dl class="attribute">
  442. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.Kind.CONTINUATION">
  443. <code class="descname">CONTINUATION</code><em class="property"> = &lt;Kind.CONTINUATION: 'continuation'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.Kind.CONTINUATION" title="Permalink to this definition">¶</a></dt>
  444. <dd></dd></dl>
  445. <dl class="attribute">
  446. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.Kind.ENTIRE">
  447. <code class="descname">ENTIRE</code><em class="property"> = &lt;Kind.ENTIRE: 'entire'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.Kind.ENTIRE" title="Permalink to this definition">¶</a></dt>
  448. <dd></dd></dl>
  449. <dl class="attribute">
  450. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.Kind.EXPIRATION">
  451. <code class="descname">EXPIRATION</code><em class="property"> = &lt;Kind.EXPIRATION: 'expiration'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.Kind.EXPIRATION" title="Permalink to this definition">¶</a></dt>
  452. <dd></dd></dl>
  453. <dl class="attribute">
  454. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.Kind.RECEPTION_FAILURE">
  455. <code class="descname">RECEPTION_FAILURE</code><em class="property"> = &lt;Kind.RECEPTION_FAILURE: 'reception failure'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.Kind.RECEPTION_FAILURE" title="Permalink to this definition">¶</a></dt>
  456. <dd></dd></dl>
  457. <dl class="attribute">
  458. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.Kind.SERVICED_FAILURE">
  459. <code class="descname">SERVICED_FAILURE</code><em class="property"> = &lt;Kind.SERVICED_FAILURE: 'serviced failure'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.Kind.SERVICED_FAILURE" title="Permalink to this definition">¶</a></dt>
  460. <dd></dd></dl>
  461. <dl class="attribute">
  462. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.Kind.SERVICER_FAILURE">
  463. <code class="descname">SERVICER_FAILURE</code><em class="property"> = &lt;Kind.SERVICER_FAILURE: 'servicer failure'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.Kind.SERVICER_FAILURE" title="Permalink to this definition">¶</a></dt>
  464. <dd></dd></dl>
  465. <dl class="attribute">
  466. <dt id="grpc.framework.base.interfaces.FrontToBackTicket.Kind.TRANSMISSION_FAILURE">
  467. <code class="descname">TRANSMISSION_FAILURE</code><em class="property"> = &lt;Kind.TRANSMISSION_FAILURE: 'transmission failure'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.FrontToBackTicket.Kind.TRANSMISSION_FAILURE" title="Permalink to this definition">¶</a></dt>
  468. <dd></dd></dl>
  469. </dd></dl>
  470. </dd></dl>
  471. <dl class="class">
  472. <dt id="grpc.framework.base.interfaces.Operation">
  473. <em class="property">class </em><code class="descclassname">grpc.framework.base.interfaces.</code><code class="descname">Operation</code><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#Operation"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.Operation" title="Permalink to this definition">¶</a></dt>
  474. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  475. <p>Representation of an in-progress operation.</p>
  476. <dl class="attribute">
  477. <dt id="grpc.framework.base.interfaces.Operation.consumer">
  478. <code class="descname">consumer</code><a class="headerlink" href="#grpc.framework.base.interfaces.Operation.consumer" title="Permalink to this definition">¶</a></dt>
  479. <dd><p>A stream.Consumer into which payloads constituting the operation&#8217;s
  480. input may be passed.</p>
  481. </dd></dl>
  482. <dl class="attribute">
  483. <dt id="grpc.framework.base.interfaces.Operation.context">
  484. <code class="descname">context</code><a class="headerlink" href="#grpc.framework.base.interfaces.Operation.context" title="Permalink to this definition">¶</a></dt>
  485. <dd><p>An OperationContext affording information and action about the
  486. operation.</p>
  487. </dd></dl>
  488. <dl class="method">
  489. <dt id="grpc.framework.base.interfaces.Operation.cancel">
  490. <code class="descname">cancel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#Operation.cancel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.Operation.cancel" title="Permalink to this definition">¶</a></dt>
  491. <dd><p>Cancels this operation.</p>
  492. </dd></dl>
  493. </dd></dl>
  494. <dl class="class">
  495. <dt id="grpc.framework.base.interfaces.OperationContext">
  496. <em class="property">class </em><code class="descclassname">grpc.framework.base.interfaces.</code><code class="descname">OperationContext</code><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#OperationContext"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.OperationContext" title="Permalink to this definition">¶</a></dt>
  497. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  498. <p>Provides operation-related information and action.</p>
  499. <dl class="attribute">
  500. <dt id="grpc.framework.base.interfaces.OperationContext.trace_id">
  501. <code class="descname">trace_id</code><a class="headerlink" href="#grpc.framework.base.interfaces.OperationContext.trace_id" title="Permalink to this definition">¶</a></dt>
  502. <dd><p>A uuid.UUID identifying a particular set of related operations.</p>
  503. </dd></dl>
  504. <dl class="method">
  505. <dt id="grpc.framework.base.interfaces.OperationContext.add_termination_callback">
  506. <code class="descname">add_termination_callback</code><span class="sig-paren">(</span><em>callback</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#OperationContext.add_termination_callback"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.OperationContext.add_termination_callback" title="Permalink to this definition">¶</a></dt>
  507. <dd><p>Adds a function to be called upon operation termination.</p>
  508. <table class="docutils field-list" frame="void" rules="none">
  509. <col class="field-name" />
  510. <col class="field-body" />
  511. <tbody valign="top">
  512. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>callback</strong> &#8211; A callable that will be passed an Outcome value.</td>
  513. </tr>
  514. </tbody>
  515. </table>
  516. </dd></dl>
  517. <dl class="method">
  518. <dt id="grpc.framework.base.interfaces.OperationContext.fail">
  519. <code class="descname">fail</code><span class="sig-paren">(</span><em>exception</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#OperationContext.fail"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.OperationContext.fail" title="Permalink to this definition">¶</a></dt>
  520. <dd><p>Indicates that the operation has failed.</p>
  521. <table class="docutils field-list" frame="void" rules="none">
  522. <col class="field-name" />
  523. <col class="field-body" />
  524. <tbody valign="top">
  525. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>exception</strong> &#8211; An exception germane to the operation failure. May be None.</td>
  526. </tr>
  527. </tbody>
  528. </table>
  529. </dd></dl>
  530. <dl class="method">
  531. <dt id="grpc.framework.base.interfaces.OperationContext.is_active">
  532. <code class="descname">is_active</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#OperationContext.is_active"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.OperationContext.is_active" title="Permalink to this definition">¶</a></dt>
  533. <dd><p>Describes whether the operation is active or has terminated.</p>
  534. </dd></dl>
  535. <dl class="method">
  536. <dt id="grpc.framework.base.interfaces.OperationContext.time_remaining">
  537. <code class="descname">time_remaining</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#OperationContext.time_remaining"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.OperationContext.time_remaining" title="Permalink to this definition">¶</a></dt>
  538. <dd><p>Describes the length of allowed time remaining for the operation.</p>
  539. <table class="docutils field-list" frame="void" rules="none">
  540. <col class="field-name" />
  541. <col class="field-body" />
  542. <tbody valign="top">
  543. <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">A nonnegative float indicating the length of allowed time in seconds
  544. remaining for the operation to complete before it is considered to have
  545. timed out.</td>
  546. </tr>
  547. </tbody>
  548. </table>
  549. </dd></dl>
  550. </dd></dl>
  551. <dl class="class">
  552. <dt id="grpc.framework.base.interfaces.Outcome">
  553. <em class="property">class </em><code class="descclassname">grpc.framework.base.interfaces.</code><code class="descname">Outcome</code><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#Outcome"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.Outcome" title="Permalink to this definition">¶</a></dt>
  554. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">enum.Enum</span></code></p>
  555. <p>Operation outcomes.</p>
  556. <dl class="attribute">
  557. <dt id="grpc.framework.base.interfaces.Outcome.CANCELLED">
  558. <code class="descname">CANCELLED</code><em class="property"> = &lt;Outcome.CANCELLED: 'cancelled'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.Outcome.CANCELLED" title="Permalink to this definition">¶</a></dt>
  559. <dd></dd></dl>
  560. <dl class="attribute">
  561. <dt id="grpc.framework.base.interfaces.Outcome.COMPLETED">
  562. <code class="descname">COMPLETED</code><em class="property"> = &lt;Outcome.COMPLETED: 'completed'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.Outcome.COMPLETED" title="Permalink to this definition">¶</a></dt>
  563. <dd></dd></dl>
  564. <dl class="attribute">
  565. <dt id="grpc.framework.base.interfaces.Outcome.EXPIRED">
  566. <code class="descname">EXPIRED</code><em class="property"> = &lt;Outcome.EXPIRED: 'expired'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.Outcome.EXPIRED" title="Permalink to this definition">¶</a></dt>
  567. <dd></dd></dl>
  568. <dl class="attribute">
  569. <dt id="grpc.framework.base.interfaces.Outcome.RECEPTION_FAILURE">
  570. <code class="descname">RECEPTION_FAILURE</code><em class="property"> = &lt;Outcome.RECEPTION_FAILURE: 'reception failure'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.Outcome.RECEPTION_FAILURE" title="Permalink to this definition">¶</a></dt>
  571. <dd></dd></dl>
  572. <dl class="attribute">
  573. <dt id="grpc.framework.base.interfaces.Outcome.SERVICED_FAILURE">
  574. <code class="descname">SERVICED_FAILURE</code><em class="property"> = &lt;Outcome.SERVICED_FAILURE: 'serviced failure'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.Outcome.SERVICED_FAILURE" title="Permalink to this definition">¶</a></dt>
  575. <dd></dd></dl>
  576. <dl class="attribute">
  577. <dt id="grpc.framework.base.interfaces.Outcome.SERVICER_FAILURE">
  578. <code class="descname">SERVICER_FAILURE</code><em class="property"> = &lt;Outcome.SERVICER_FAILURE: 'servicer failure'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.Outcome.SERVICER_FAILURE" title="Permalink to this definition">¶</a></dt>
  579. <dd></dd></dl>
  580. <dl class="attribute">
  581. <dt id="grpc.framework.base.interfaces.Outcome.TRANSMISSION_FAILURE">
  582. <code class="descname">TRANSMISSION_FAILURE</code><em class="property"> = &lt;Outcome.TRANSMISSION_FAILURE: 'transmission failure'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.Outcome.TRANSMISSION_FAILURE" title="Permalink to this definition">¶</a></dt>
  583. <dd></dd></dl>
  584. </dd></dl>
  585. <dl class="class">
  586. <dt id="grpc.framework.base.interfaces.RearLink">
  587. <em class="property">class </em><code class="descclassname">grpc.framework.base.interfaces.</code><code class="descname">RearLink</code><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#RearLink"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.RearLink" title="Permalink to this definition">¶</a></dt>
  588. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  589. <p>Accepts front-to-back tickets and emits back-to-front tickets.</p>
  590. <dl class="method">
  591. <dt id="grpc.framework.base.interfaces.RearLink.accept_front_to_back_ticket">
  592. <code class="descname">accept_front_to_back_ticket</code><span class="sig-paren">(</span><em>ticket</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#RearLink.accept_front_to_back_ticket"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.RearLink.accept_front_to_back_ticket" title="Permalink to this definition">¶</a></dt>
  593. <dd><p>Accepts a FrontToBackTicket.</p>
  594. <table class="docutils field-list" frame="void" rules="none">
  595. <col class="field-name" />
  596. <col class="field-body" />
  597. <tbody valign="top">
  598. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>ticket</strong> &#8211; Any FrontToBackTicket.</td>
  599. </tr>
  600. </tbody>
  601. </table>
  602. </dd></dl>
  603. <dl class="method">
  604. <dt id="grpc.framework.base.interfaces.RearLink.join_fore_link">
  605. <code class="descname">join_fore_link</code><span class="sig-paren">(</span><em>fore_link</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#RearLink.join_fore_link"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.RearLink.join_fore_link" title="Permalink to this definition">¶</a></dt>
  606. <dd><p>Mates this object with a peer with which it will exchange tickets.</p>
  607. </dd></dl>
  608. </dd></dl>
  609. <dl class="class">
  610. <dt id="grpc.framework.base.interfaces.ServicedIngestor">
  611. <em class="property">class </em><code class="descclassname">grpc.framework.base.interfaces.</code><code class="descname">ServicedIngestor</code><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#ServicedIngestor"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.ServicedIngestor" title="Permalink to this definition">¶</a></dt>
  612. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  613. <p>Responsible for accepting the result of an operation.</p>
  614. <dl class="method">
  615. <dt id="grpc.framework.base.interfaces.ServicedIngestor.consumer">
  616. <code class="descname">consumer</code><span class="sig-paren">(</span><em>operation_context</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#ServicedIngestor.consumer"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.ServicedIngestor.consumer" title="Permalink to this definition">¶</a></dt>
  617. <dd><p>Affords a consumer to which operation results will be passed.</p>
  618. <table class="docutils field-list" frame="void" rules="none">
  619. <col class="field-name" />
  620. <col class="field-body" />
  621. <tbody valign="top">
  622. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>operation_context</strong> &#8211; An OperationContext object for the current operation.</td>
  623. </tr>
  624. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><dl class="docutils">
  625. <dt>A stream.Consumer to which the results of the current operation will be</dt>
  626. <dd>passed.</dd>
  627. </dl>
  628. </td>
  629. </tr>
  630. <tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><code class="xref py py-exc docutils literal"><span class="pre">abandonment.Abandoned</span></code> &#8211; If the operation has been aborted and there no
  631. longer is any reason to service the operation.</td>
  632. </tr>
  633. </tbody>
  634. </table>
  635. </dd></dl>
  636. </dd></dl>
  637. <dl class="class">
  638. <dt id="grpc.framework.base.interfaces.ServicedSubscription">
  639. <em class="property">class </em><code class="descclassname">grpc.framework.base.interfaces.</code><code class="descname">ServicedSubscription</code><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#ServicedSubscription"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.ServicedSubscription" title="Permalink to this definition">¶</a></dt>
  640. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  641. <p>A sum type representing a serviced&#8217;s interest in an operation.</p>
  642. <dl class="attribute">
  643. <dt id="grpc.framework.base.interfaces.ServicedSubscription.kind">
  644. <code class="descname">kind</code><a class="headerlink" href="#grpc.framework.base.interfaces.ServicedSubscription.kind" title="Permalink to this definition">¶</a></dt>
  645. <dd><p>A Kind value.</p>
  646. </dd></dl>
  647. <dl class="attribute">
  648. <dt id="grpc.framework.base.interfaces.ServicedSubscription.ingestor">
  649. <code class="descname">ingestor</code><a class="headerlink" href="#grpc.framework.base.interfaces.ServicedSubscription.ingestor" title="Permalink to this definition">¶</a></dt>
  650. <dd><p>A ServicedIngestor. Must be present if kind is Kind.FULL. Must
  651. be None if kind is Kind.TERMINATION_ONLY or Kind.NONE.</p>
  652. </dd></dl>
  653. <dl class="class">
  654. <dt id="grpc.framework.base.interfaces.ServicedSubscription.Kind">
  655. <em class="property">class </em><code class="descname">Kind</code><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#ServicedSubscription.Kind"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.ServicedSubscription.Kind" title="Permalink to this definition">¶</a></dt>
  656. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">enum.Enum</span></code></p>
  657. <p>Kinds of subscription.</p>
  658. <dl class="attribute">
  659. <dt id="grpc.framework.base.interfaces.ServicedSubscription.Kind.FULL">
  660. <code class="descname">FULL</code><em class="property"> = &lt;Kind.FULL: 'full'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.ServicedSubscription.Kind.FULL" title="Permalink to this definition">¶</a></dt>
  661. <dd></dd></dl>
  662. <dl class="attribute">
  663. <dt id="grpc.framework.base.interfaces.ServicedSubscription.Kind.NONE">
  664. <code class="descname">NONE</code><em class="property"> = &lt;Kind.NONE: 'none'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.ServicedSubscription.Kind.NONE" title="Permalink to this definition">¶</a></dt>
  665. <dd></dd></dl>
  666. <dl class="attribute">
  667. <dt id="grpc.framework.base.interfaces.ServicedSubscription.Kind.TERMINATION_ONLY">
  668. <code class="descname">TERMINATION_ONLY</code><em class="property"> = &lt;Kind.TERMINATION_ONLY: 'termination only'&gt;</em><a class="headerlink" href="#grpc.framework.base.interfaces.ServicedSubscription.Kind.TERMINATION_ONLY" title="Permalink to this definition">¶</a></dt>
  669. <dd></dd></dl>
  670. </dd></dl>
  671. </dd></dl>
  672. <dl class="class">
  673. <dt id="grpc.framework.base.interfaces.Servicer">
  674. <em class="property">class </em><code class="descclassname">grpc.framework.base.interfaces.</code><code class="descname">Servicer</code><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#Servicer"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.Servicer" title="Permalink to this definition">¶</a></dt>
  675. <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
  676. <p>Interface for service implementations.</p>
  677. <dl class="method">
  678. <dt id="grpc.framework.base.interfaces.Servicer.service">
  679. <code class="descname">service</code><span class="sig-paren">(</span><em>name</em>, <em>context</em>, <em>output_consumer</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/interfaces.html#Servicer.service"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.interfaces.Servicer.service" title="Permalink to this definition">¶</a></dt>
  680. <dd><p>Services an operation.</p>
  681. <table class="docutils field-list" frame="void" rules="none">
  682. <col class="field-name" />
  683. <col class="field-body" />
  684. <tbody valign="top">
  685. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
  686. <li><strong>name</strong> &#8211; The name of the operation.</li>
  687. <li><strong>context</strong> &#8211; A ServicerContext object affording contextual information and
  688. actions.</li>
  689. <li><strong>output_consumer</strong> &#8211; A stream.Consumer that will accept output values of
  690. the operation.</li>
  691. </ul>
  692. </td>
  693. </tr>
  694. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">A stream.Consumer that will accept input values for the operation.</p>
  695. </td>
  696. </tr>
  697. <tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><ul class="first last simple">
  698. <li><code class="xref py py-exc docutils literal"><span class="pre">exceptions.NoSuchMethodError</span></code> &#8211; If this Servicer affords no method with the
  699. given name.</li>
  700. <li><code class="xref py py-exc docutils literal"><span class="pre">abandonment.Abandoned</span></code> &#8211; If the operation has been aborted and there no
  701. longer is any reason to service the operation.</li>
  702. </ul>
  703. </td>
  704. </tr>
  705. </tbody>
  706. </table>
  707. </dd></dl>
  708. </dd></dl>
  709. </div>
  710. <div class="section" id="module-grpc.framework.base.null">
  711. <span id="grpc-framework-base-null-module"></span><h2>grpc.framework.base.null module<a class="headerlink" href="#module-grpc.framework.base.null" title="Permalink to this headline">¶</a></h2>
  712. <p>Null links that ignore tickets passed to them.</p>
  713. </div>
  714. <div class="section" id="module-grpc.framework.base.util">
  715. <span id="grpc-framework-base-util-module"></span><h2>grpc.framework.base.util module<a class="headerlink" href="#module-grpc.framework.base.util" title="Permalink to this headline">¶</a></h2>
  716. <p>Utilities helpful for working with the base layer of RPC Framework.</p>
  717. <dl class="function">
  718. <dt id="grpc.framework.base.util.full_serviced_subscription">
  719. <code class="descclassname">grpc.framework.base.util.</code><code class="descname">full_serviced_subscription</code><span class="sig-paren">(</span><em>ingestor</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/util.html#full_serviced_subscription"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.util.full_serviced_subscription" title="Permalink to this definition">¶</a></dt>
  720. <dd><p>Creates a &#8220;full&#8221; interfaces.ServicedSubscription object.</p>
  721. <table class="docutils field-list" frame="void" rules="none">
  722. <col class="field-name" />
  723. <col class="field-body" />
  724. <tbody valign="top">
  725. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>ingestor</strong> &#8211; An interfaces.ServicedIngestor.</td>
  726. </tr>
  727. <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><dl class="docutils">
  728. <dt>An interfaces.ServicedSubscription object indicating a full</dt>
  729. <dd>subscription.</dd>
  730. </dl>
  731. </td>
  732. </tr>
  733. </tbody>
  734. </table>
  735. </dd></dl>
  736. <dl class="function">
  737. <dt id="grpc.framework.base.util.none_serviced_subscription">
  738. <code class="descclassname">grpc.framework.base.util.</code><code class="descname">none_serviced_subscription</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/util.html#none_serviced_subscription"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.util.none_serviced_subscription" title="Permalink to this definition">¶</a></dt>
  739. <dd><p>Creates a &#8220;none&#8221; interfaces.ServicedSubscription object.</p>
  740. <table class="docutils field-list" frame="void" rules="none">
  741. <col class="field-name" />
  742. <col class="field-body" />
  743. <tbody valign="top">
  744. <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><dl class="docutils">
  745. <dt>An interfaces.ServicedSubscription indicating no subscription to an</dt>
  746. <dd>operation&#8217;s results (such as would be the case for a fire-and-forget
  747. operation invocation).</dd>
  748. </dl>
  749. </td>
  750. </tr>
  751. </tbody>
  752. </table>
  753. </dd></dl>
  754. <dl class="function">
  755. <dt id="grpc.framework.base.util.termination_only_serviced_subscription">
  756. <code class="descclassname">grpc.framework.base.util.</code><code class="descname">termination_only_serviced_subscription</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/util.html#termination_only_serviced_subscription"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.util.termination_only_serviced_subscription" title="Permalink to this definition">¶</a></dt>
  757. <dd><p>Creates a &#8220;termination only&#8221; interfaces.ServicedSubscription object.</p>
  758. <table class="docutils field-list" frame="void" rules="none">
  759. <col class="field-name" />
  760. <col class="field-body" />
  761. <tbody valign="top">
  762. <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><dl class="docutils">
  763. <dt>An interfaces.ServicedSubscription indicating that the front-side customer</dt>
  764. <dd>is interested only in the overall termination outcome of the operation
  765. (such as completion or expiration) and would ignore the actual results of
  766. the operation.</dd>
  767. </dl>
  768. </td>
  769. </tr>
  770. </tbody>
  771. </table>
  772. </dd></dl>
  773. <dl class="function">
  774. <dt id="grpc.framework.base.util.wait_for_idle">
  775. <code class="descclassname">grpc.framework.base.util.</code><code class="descname">wait_for_idle</code><span class="sig-paren">(</span><em>end</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc/framework/base/util.html#wait_for_idle"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.framework.base.util.wait_for_idle" title="Permalink to this definition">¶</a></dt>
  776. <dd><p>Waits for an interfaces.End to complete all operations.</p>
  777. <table class="docutils field-list" frame="void" rules="none">
  778. <col class="field-name" />
  779. <col class="field-body" />
  780. <tbody valign="top">
  781. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>end</strong> &#8211; Any interfaces.End.</td>
  782. </tr>
  783. </tbody>
  784. </table>
  785. </dd></dl>
  786. </div>
  787. <div class="section" id="module-grpc.framework.base">
  788. <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-grpc.framework.base" title="Permalink to this headline">¶</a></h2>
  789. </div>
  790. </div>
  791. </div>
  792. </div>
  793. <footer>
  794. <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
  795. <a href="grpc.framework.common.html" class="btn btn-neutral float-right" title="grpc.framework.common package" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
  796. <a href="grpc.framework.alpha.html" class="btn btn-neutral" title="grpc.framework.alpha package" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>
  797. </div>
  798. <hr/>
  799. <div role="contentinfo">
  800. <p>
  801. &copy; Copyright 2016, Author.
  802. </p>
  803. </div>
  804. Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
  805. </footer>
  806. </div>
  807. </div>
  808. </section>
  809. </div>
  810. <script type="text/javascript">
  811. var DOCUMENTATION_OPTIONS = {
  812. URL_ROOT:'./',
  813. VERSION:'0.13.1rc1',
  814. COLLAPSE_INDEX:false,
  815. FILE_SUFFIX:'.html',
  816. HAS_SOURCE: true
  817. };
  818. </script>
  819. <script type="text/javascript" src="_static/jquery.js"></script>
  820. <script type="text/javascript" src="_static/underscore.js"></script>
  821. <script type="text/javascript" src="_static/doctools.js"></script>
  822. <script type="text/javascript" src="_static/js/theme.js"></script>
  823. <script type="text/javascript">
  824. jQuery(function () {
  825. SphinxRtdTheme.StickyNav.enable();
  826. });
  827. </script>
  828. </body>
  829. </html>