diff options
Diffstat (limited to 'router.html')
| -rw-r--r-- | router.html | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/router.html b/router.html index f43d98e..c5e13c8 100644 --- a/router.html +++ b/router.html | |||
| @@ -24,6 +24,7 @@ | |||
| 24 | <script type="text/javascript" src="_static/underscore.js"></script> | 24 | <script type="text/javascript" src="_static/underscore.js"></script> |
| 25 | <script type="text/javascript" src="_static/doctools.js"></script> | 25 | <script type="text/javascript" src="_static/doctools.js"></script> |
| 26 | <link rel="top" title="EventMQ 0 documentation" href="index.html" /> | 26 | <link rel="top" title="EventMQ 0 documentation" href="index.html" /> |
| 27 | <link rel="next" title="sender – Sender" href="sender.html" /> | ||
| 27 | <link rel="prev" title="receiver – Receiver" href="receiver.html" /> | 28 | <link rel="prev" title="receiver – Receiver" href="receiver.html" /> |
| 28 | </head> | 29 | </head> |
| 29 | <body role="document"> | 30 | <body role="document"> |
| @@ -37,6 +38,9 @@ | |||
| 37 | <a href="py-modindex.html" title="Python Module Index" | 38 | <a href="py-modindex.html" title="Python Module Index" |
| 38 | >modules</a> |</li> | 39 | >modules</a> |</li> |
| 39 | <li class="right" > | 40 | <li class="right" > |
| 41 | <a href="sender.html" title="sender – Sender" | ||
| 42 | accesskey="N">next</a> |</li> | ||
| 43 | <li class="right" > | ||
| 40 | <a href="receiver.html" title="receiver – Receiver" | 44 | <a href="receiver.html" title="receiver – Receiver" |
| 41 | accesskey="P">previous</a> |</li> | 45 | accesskey="P">previous</a> |</li> |
| 42 | <li class="nav-item nav-item-0"><a href="index.html">EventMQ 0 documentation</a> »</li> | 46 | <li class="nav-item nav-item-0"><a href="index.html">EventMQ 0 documentation</a> »</li> |
| @@ -48,16 +52,23 @@ | |||
| 48 | <div class="bodywrapper"> | 52 | <div class="bodywrapper"> |
| 49 | <div class="body" role="main"> | 53 | <div class="body" role="main"> |
| 50 | 54 | ||
| 51 | <span class="target" id="module-router"></span><div class="section" id="router-router"> | 55 | <span class="target" id="module-eventmq.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> | 56 | <h1><code class="xref py py-mod docutils literal"><span class="pre">router</span></code> – 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> | 57 | <p>Routes messages to workers (that are in named queues).</p> |
| 54 | <dl class="class"> | 58 | <dl class="class"> |
| 55 | <dt id="router.Router"> | 59 | <dt id="eventmq.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> | 60 | <em class="property">class </em><code class="descclassname">eventmq.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="#eventmq.router.Router" title="Permalink to this definition">¶</a></dt> |
| 57 | <dd><p>A simple router of messages</p> | 61 | <dd><p>A simple router of messages</p> |
| 62 | <p>This router uses tornado’s eventloop.</p> | ||
| 63 | <dl class="attribute"> | ||
| 64 | <dt id="eventmq.router.Router.__weakref__"> | ||
| 65 | <code class="descname">__weakref__</code><a class="headerlink" href="#eventmq.router.Router.__weakref__" title="Permalink to this definition">¶</a></dt> | ||
| 66 | <dd><p>list of weak references to the object (if defined)</p> | ||
| 67 | </dd></dl> | ||
| 68 | |||
| 58 | <dl class="method"> | 69 | <dl class="method"> |
| 59 | <dt id="router.Router.start"> | 70 | <dt id="eventmq.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> | 71 | <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="#eventmq.router.Router.start" title="Permalink to this definition">¶</a></dt> |
| 61 | <dd><p>Begin listening for connections on the provided connection strings</p> | 72 | <dd><p>Begin listening for connections on the provided connection strings</p> |
| 62 | <table class="docutils field-list" frame="void" rules="none"> | 73 | <table class="docutils field-list" frame="void" rules="none"> |
| 63 | <col class="field-name" /> | 74 | <col class="field-name" /> |
| @@ -86,6 +97,9 @@ | |||
| 86 | <h4>Previous topic</h4> | 97 | <h4>Previous topic</h4> |
| 87 | <p class="topless"><a href="receiver.html" | 98 | <p class="topless"><a href="receiver.html" |
| 88 | title="previous chapter"><code class="docutils literal"><span class="pre">receiver</span></code> – Receiver</a></p> | 99 | title="previous chapter"><code class="docutils literal"><span class="pre">receiver</span></code> – Receiver</a></p> |
| 100 | <h4>Next topic</h4> | ||
| 101 | <p class="topless"><a href="sender.html" | ||
| 102 | title="next chapter"><code class="docutils literal"><span class="pre">sender</span></code> – Sender</a></p> | ||
| 89 | <div role="note" aria-label="source link"> | 103 | <div role="note" aria-label="source link"> |
| 90 | <h3>This Page</h3> | 104 | <h3>This Page</h3> |
| 91 | <ul class="this-page-menu"> | 105 | <ul class="this-page-menu"> |
| @@ -120,6 +134,9 @@ | |||
| 120 | <a href="py-modindex.html" title="Python Module Index" | 134 | <a href="py-modindex.html" title="Python Module Index" |
| 121 | >modules</a> |</li> | 135 | >modules</a> |</li> |
| 122 | <li class="right" > | 136 | <li class="right" > |
| 137 | <a href="sender.html" title="sender – Sender" | ||
| 138 | >next</a> |</li> | ||
| 139 | <li class="right" > | ||
| 123 | <a href="receiver.html" title="receiver – Receiver" | 140 | <a href="receiver.html" title="receiver – Receiver" |
| 124 | >previous</a> |</li> | 141 | >previous</a> |</li> |
| 125 | <li class="nav-item nav-item-0"><a href="index.html">EventMQ 0 documentation</a> »</li> | 142 | <li class="nav-item nav-item-0"><a href="index.html">EventMQ 0 documentation</a> »</li> |