diff options
Diffstat (limited to 'router.html')
| -rw-r--r-- | router.html | 133 |
1 files changed, 133 insertions, 0 deletions
diff --git a/router.html b/router.html new file mode 100644 index 0000000..f43d98e --- /dev/null +++ b/router.html | |||
| @@ -0,0 +1,133 @@ | |||
| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
| 2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
| 3 | |||
| 4 | |||
| 5 | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
| 6 | <head> | ||
| 7 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
| 8 | |||
| 9 | <title>router – Router — EventMQ 0 documentation</title> | ||
| 10 | |||
| 11 | <link rel="stylesheet" href="_static/classic.css" type="text/css" /> | ||
| 12 | <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> | ||
| 13 | |||
| 14 | <script type="text/javascript"> | ||
| 15 | var DOCUMENTATION_OPTIONS = { | ||
| 16 | URL_ROOT: './', | ||
| 17 | VERSION: '0', | ||
| 18 | COLLAPSE_INDEX: false, | ||
| 19 | FILE_SUFFIX: '.html', | ||
| 20 | HAS_SOURCE: true | ||
| 21 | }; | ||
| 22 | </script> | ||
| 23 | <script type="text/javascript" src="_static/jquery.js"></script> | ||
| 24 | <script type="text/javascript" src="_static/underscore.js"></script> | ||
| 25 | <script type="text/javascript" src="_static/doctools.js"></script> | ||
| 26 | <link rel="top" title="EventMQ 0 documentation" href="index.html" /> | ||
| 27 | <link rel="prev" title="receiver – Receiver" href="receiver.html" /> | ||
| 28 | </head> | ||
| 29 | <body role="document"> | ||
| 30 | <div class="related" role="navigation" aria-label="related navigation"> | ||
| 31 | <h3>Navigation</h3> | ||
| 32 | <ul> | ||
| 33 | <li class="right" style="margin-right: 10px"> | ||
| 34 | <a href="genindex.html" title="General Index" | ||
| 35 | accesskey="I">index</a></li> | ||
| 36 | <li class="right" > | ||
| 37 | <a href="py-modindex.html" title="Python Module Index" | ||
| 38 | >modules</a> |</li> | ||
| 39 | <li class="right" > | ||
| 40 | <a href="receiver.html" title="receiver – Receiver" | ||
| 41 | accesskey="P">previous</a> |</li> | ||
| 42 | <li class="nav-item nav-item-0"><a href="index.html">EventMQ 0 documentation</a> »</li> | ||
| 43 | </ul> | ||
| 44 | </div> | ||
| 45 | |||
| 46 | <div class="document"> | ||
| 47 | <div class="documentwrapper"> | ||
| 48 | <div class="bodywrapper"> | ||
| 49 | <div class="body" role="main"> | ||
| 50 | |||
| 51 | <span class="target" id="module-router"></span><div class="section" id="router-router"> | ||
| 52 | <h1><a class="reference internal" href="#module-router" title="router"><code class="xref py py-mod docutils literal"><span class="pre">router</span></code></a> – Router<a class="headerlink" href="#router-router" title="Permalink to this headline">¶</a></h1> | ||
| 53 | <p>Routes messages to workers (that are in named queues).</p> | ||
| 54 | <dl class="class"> | ||
| 55 | <dt id="router.Router"> | ||
| 56 | <em class="property">class </em><code class="descclassname">router.</code><code class="descname">Router</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#router.Router" title="Permalink to this definition">¶</a></dt> | ||
| 57 | <dd><p>A simple router of messages</p> | ||
| 58 | <dl class="method"> | ||
| 59 | <dt id="router.Router.start"> | ||
| 60 | <code class="descname">start</code><span class="sig-paren">(</span><em>frontend_addr='tcp://127.0.0.1:47290'</em>, <em>backend_addr='tcp://127.0.0.1:47291'</em><span class="sig-paren">)</span><a class="headerlink" href="#router.Router.start" title="Permalink to this definition">¶</a></dt> | ||
| 61 | <dd><p>Begin listening for connections on the provided connection strings</p> | ||
| 62 | <table class="docutils field-list" frame="void" rules="none"> | ||
| 63 | <col class="field-name" /> | ||
| 64 | <col class="field-body" /> | ||
| 65 | <tbody valign="top"> | ||
| 66 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> | ||
| 67 | <li><strong>frontend_addr</strong> – connection string to listen for requests</li> | ||
| 68 | <li><strong>backend_addr</strong> – connection string to listen for workers</li> | ||
| 69 | </ul> | ||
| 70 | </td> | ||
| 71 | </tr> | ||
| 72 | </tbody> | ||
| 73 | </table> | ||
| 74 | </dd></dl> | ||
| 75 | |||
| 76 | </dd></dl> | ||
| 77 | |||
| 78 | </div> | ||
| 79 | |||
| 80 | |||
| 81 | </div> | ||
| 82 | </div> | ||
| 83 | </div> | ||
| 84 | <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> | ||
| 85 | <div class="sphinxsidebarwrapper"> | ||
| 86 | <h4>Previous topic</h4> | ||
| 87 | <p class="topless"><a href="receiver.html" | ||
| 88 | title="previous chapter"><code class="docutils literal"><span class="pre">receiver</span></code> – Receiver</a></p> | ||
| 89 | <div role="note" aria-label="source link"> | ||
| 90 | <h3>This Page</h3> | ||
| 91 | <ul class="this-page-menu"> | ||
| 92 | <li><a href="_sources/router.txt" | ||
| 93 | rel="nofollow">Show Source</a></li> | ||
| 94 | </ul> | ||
| 95 | </div> | ||
| 96 | <div id="searchbox" style="display: none" role="search"> | ||
| 97 | <h3>Quick search</h3> | ||
| 98 | <form class="search" action="search.html" method="get"> | ||
| 99 | <input type="text" name="q" /> | ||
| 100 | <input type="submit" value="Go" /> | ||
| 101 | <input type="hidden" name="check_keywords" value="yes" /> | ||
| 102 | <input type="hidden" name="area" value="default" /> | ||
| 103 | </form> | ||
| 104 | <p class="searchtip" style="font-size: 90%"> | ||
| 105 | Enter search terms or a module, class or function name. | ||
| 106 | </p> | ||
| 107 | </div> | ||
| 108 | <script type="text/javascript">$('#searchbox').show(0);</script> | ||
| 109 | </div> | ||
| 110 | </div> | ||
| 111 | <div class="clearer"></div> | ||
| 112 | </div> | ||
| 113 | <div class="related" role="navigation" aria-label="related navigation"> | ||
| 114 | <h3>Navigation</h3> | ||
| 115 | <ul> | ||
| 116 | <li class="right" style="margin-right: 10px"> | ||
| 117 | <a href="genindex.html" title="General Index" | ||
| 118 | >index</a></li> | ||
| 119 | <li class="right" > | ||
| 120 | <a href="py-modindex.html" title="Python Module Index" | ||
| 121 | >modules</a> |</li> | ||
| 122 | <li class="right" > | ||
| 123 | <a href="receiver.html" title="receiver – Receiver" | ||
| 124 | >previous</a> |</li> | ||
| 125 | <li class="nav-item nav-item-0"><a href="index.html">EventMQ 0 documentation</a> »</li> | ||
| 126 | </ul> | ||
| 127 | </div> | ||
| 128 | <div class="footer" role="contentinfo"> | ||
| 129 | © Copyright 2015, eventboard.io. | ||
| 130 | Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1. | ||
| 131 | </div> | ||
| 132 | </body> | ||
| 133 | </html> \ No newline at end of file | ||