diff options
Diffstat (limited to 'sender.html')
| -rwxr-xr-x[-rw-r--r--] | sender.html | 55 |
1 files changed, 28 insertions, 27 deletions
diff --git a/sender.html b/sender.html index 7d0f5d1..153a249 100644..100755 --- a/sender.html +++ b/sender.html | |||
| @@ -30,6 +30,9 @@ | |||
| 30 | 30 | ||
| 31 | 31 | ||
| 32 | 32 | ||
| 33 | <link rel="index" title="Index" | ||
| 34 | href="genindex.html"/> | ||
| 35 | <link rel="search" title="Search" href="search.html"/> | ||
| 33 | <link rel="top" title="EventMQ 0 documentation" href="index.html"/> | 36 | <link rel="top" title="EventMQ 0 documentation" href="index.html"/> |
| 34 | <link rel="up" title="API Documentation" href="api.html"/> | 37 | <link rel="up" title="API Documentation" href="api.html"/> |
| 35 | <link rel="next" title="utils – Utilities" href="utils/index.html"/> | 38 | <link rel="next" title="utils – Utilities" href="utils/index.html"/> |
| @@ -61,7 +64,7 @@ | |||
| 61 | 64 | ||
| 62 | 65 | ||
| 63 | <div class="version"> | 66 | <div class="version"> |
| 64 | 0.2.7.1 | 67 | 0.3-rc8 |
| 65 | </div> | 68 | </div> |
| 66 | 69 | ||
| 67 | 70 | ||
| @@ -91,7 +94,7 @@ | |||
| 91 | <li class="toctree-l2"><a class="reference internal" href="poller.html"><code class="docutils literal"><span class="pre">poller</span></code> – Poller</a></li> | 94 | <li class="toctree-l2"><a class="reference internal" href="poller.html"><code class="docutils literal"><span class="pre">poller</span></code> – Poller</a></li> |
| 92 | <li class="toctree-l2"><a class="reference internal" href="receiver.html"><code class="docutils literal"><span class="pre">receiver</span></code> – Receiver</a></li> | 95 | <li class="toctree-l2"><a class="reference internal" href="receiver.html"><code class="docutils literal"><span class="pre">receiver</span></code> – Receiver</a></li> |
| 93 | <li class="toctree-l2"><a class="reference internal" href="router.html"><code class="docutils literal"><span class="pre">router</span></code> – Router</a></li> | 96 | <li class="toctree-l2"><a class="reference internal" href="router.html"><code class="docutils literal"><span class="pre">router</span></code> – Router</a></li> |
| 94 | <li class="toctree-l2 current"><a class="current reference internal" href=""><code class="docutils literal"><span class="pre">sender</span></code> – Sender</a></li> | 97 | <li class="toctree-l2 current"><a class="current reference internal" href="#"><code class="docutils literal"><span class="pre">sender</span></code> – Sender</a></li> |
| 95 | <li class="toctree-l2"><a class="reference internal" href="utils/index.html"><code class="docutils literal"><span class="pre">utils</span></code> – Utilities</a></li> | 98 | <li class="toctree-l2"><a class="reference internal" href="utils/index.html"><code class="docutils literal"><span class="pre">utils</span></code> – Utilities</a></li> |
| 96 | </ul> | 99 | </ul> |
| 97 | </li> | 100 | </li> |
| @@ -118,7 +121,7 @@ | |||
| 118 | <div class="rst-content"> | 121 | <div class="rst-content"> |
| 119 | 122 | ||
| 120 | 123 | ||
| 121 | 124 | ||
| 122 | 125 | ||
| 123 | 126 | ||
| 124 | 127 | ||
| @@ -132,7 +135,7 @@ | |||
| 132 | <li class="wy-breadcrumbs-aside"> | 135 | <li class="wy-breadcrumbs-aside"> |
| 133 | 136 | ||
| 134 | 137 | ||
| 135 | <a href="_sources/sender.txt" rel="nofollow"> View page source</a> | 138 | <a href="_sources/sender.rst.txt" rel="nofollow"> View page source</a> |
| 136 | 139 | ||
| 137 | 140 | ||
| 138 | </li> | 141 | </li> |
| @@ -152,21 +155,19 @@ | |||
| 152 | <dl class="attribute"> | 155 | <dl class="attribute"> |
| 153 | <dt id="eventmq.sender.Sender.name"> | 156 | <dt id="eventmq.sender.Sender.name"> |
| 154 | <code class="descname">name</code><a class="headerlink" href="#eventmq.sender.Sender.name" title="Permalink to this definition">¶</a></dt> | 157 | <code class="descname">name</code><a class="headerlink" href="#eventmq.sender.Sender.name" title="Permalink to this definition">¶</a></dt> |
| 155 | <dd><p><em>str</em></p> | 158 | <dd><p><em>str</em> – Name of this socket</p> |
| 156 | <p>Name of this socket</p> | ||
| 157 | </dd></dl> | 159 | </dd></dl> |
| 158 | 160 | ||
| 159 | <dl class="attribute"> | 161 | <dl class="attribute"> |
| 160 | <dt id="eventmq.sender.Sender.zcontext"> | 162 | <dt id="eventmq.sender.Sender.zcontext"> |
| 161 | <code class="descname">zcontext</code><a class="headerlink" href="#eventmq.sender.Sender.zcontext" title="Permalink to this definition">¶</a></dt> | 163 | <code class="descname">zcontext</code><a class="headerlink" href="#eventmq.sender.Sender.zcontext" title="Permalink to this definition">¶</a></dt> |
| 162 | <dd><p><a class="reference external" href="http://pyzmq.readthedocs.org/en/v15.0.0/api/zmq.html#zmq.Context" title="(in PyZMQ v15.0.0)"><code class="xref py py-class docutils literal"><span class="pre">zmq.Context</span></code></a></p> | 164 | <dd><p><a class="reference external" href="http://pyzmq.readthedocs.io/en/v15.0.0/api/zmq.html#zmq.Context" title="(in PyZMQ v15.0.0)"><code class="xref py py-class docutils literal"><span class="pre">zmq.Context</span></code></a> – socket context</p> |
| 163 | <p>socket context</p> | ||
| 164 | </dd></dl> | 165 | </dd></dl> |
| 165 | 166 | ||
| 166 | <dl class="attribute"> | 167 | <dl class="attribute"> |
| 167 | <dt id="eventmq.sender.Sender.zsocket"> | 168 | <dt id="eventmq.sender.Sender.zsocket"> |
| 168 | <code class="descname">zsocket</code><a class="headerlink" href="#eventmq.sender.Sender.zsocket" title="Permalink to this definition">¶</a></dt> | 169 | <code class="descname">zsocket</code><a class="headerlink" href="#eventmq.sender.Sender.zsocket" title="Permalink to this definition">¶</a></dt> |
| 169 | <dd><p><a class="reference external" href="http://pyzmq.readthedocs.org/en/v15.0.0/api/zmq.html#zmq.Socket" title="(in PyZMQ v15.0.0)"><code class="xref py py-class docutils literal"><span class="pre">zmq.Socket</span></code></a></p> | 170 | <dd><p><a class="reference external" href="http://pyzmq.readthedocs.io/en/v15.0.0/api/zmq.html#zmq.Socket" title="(in PyZMQ v15.0.0)"><code class="xref py py-class docutils literal"><span class="pre">zmq.Socket</span></code></a></p> |
| 170 | </dd></dl> | 171 | </dd></dl> |
| 171 | 172 | ||
| 172 | <dl class="method"> | 173 | <dl class="method"> |
| @@ -181,13 +182,13 @@ | |||
| 181 | <col class="field-body" /> | 182 | <col class="field-body" /> |
| 182 | <tbody valign="top"> | 183 | <tbody valign="top"> |
| 183 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> | 184 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
| 184 | <li><strong>name</strong> (<a class="reference external" href="https://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) – name of this socket. By default a uuid will be | 185 | <li><strong>name</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) – name of this socket. By default a uuid will be |
| 185 | generated</li> | 186 | generated</li> |
| 186 | <li><strong>context</strong> (<a class="reference external" href="http://pyzmq.readthedocs.org/en/v15.0.0/api/zmq.html#zmq.Context" title="(in PyZMQ v15.0.0)"><code class="xref py py-class docutils literal"><span class="pre">zmq.Context</span></code></a>) – Context to use when building the | 187 | <li><strong>context</strong> (<a class="reference external" href="http://pyzmq.readthedocs.io/en/v15.0.0/api/zmq.html#zmq.Context" title="(in PyZMQ v15.0.0)"><code class="xref py py-class docutils literal"><span class="pre">zmq.Context</span></code></a>) – Context to use when building the |
| 187 | socket</li> | 188 | socket</li> |
| 188 | <li><strong>socket</strong> (<a class="reference external" href="http://pyzmq.readthedocs.org/en/v15.0.0/api/zmq.html#zmq.Socket" title="(in PyZMQ v15.0.0)"><code class="xref py py-class docutils literal"><span class="pre">zmq.Socket</span></code></a>) – Should be one of <code class="xref py py-attr docutils literal"><span class="pre">zmq.REQ</span></code> or | 189 | <li><strong>socket</strong> (<a class="reference external" href="http://pyzmq.readthedocs.io/en/v15.0.0/api/zmq.html#zmq.Socket" title="(in PyZMQ v15.0.0)"><code class="xref py py-class docutils literal"><span class="pre">zmq.Socket</span></code></a>) – Should be one of <code class="xref py py-attr docutils literal"><span class="pre">zmq.REQ</span></code> or |
| 189 | <code class="xref py py-attr docutils literal"><span class="pre">zmq.DEALER</span></code>. By default a <cite>DEALER</cite> is used</li> | 190 | <code class="xref py py-attr docutils literal"><span class="pre">zmq.DEALER</span></code>. By default a <cite>DEALER</cite> is used</li> |
| 190 | <li><strong>skip_zmqstream</strong> (<a class="reference external" href="https://docs.python.org/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – If set to true, skip creating the zmqstream | 191 | <li><strong>skip_zmqstream</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – If set to true, skip creating the zmqstream |
| 191 | socket</li> | 192 | socket</li> |
| 192 | </ul> | 193 | </ul> |
| 193 | </td> | 194 | </td> |
| @@ -204,10 +205,9 @@ socket</li> | |||
| 204 | <col class="field-name" /> | 205 | <col class="field-name" /> |
| 205 | <col class="field-body" /> | 206 | <col class="field-body" /> |
| 206 | <tbody valign="top"> | 207 | <tbody valign="top"> |
| 207 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>addr</strong> (<a class="reference external" href="https://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) – Address to connect to as a connection string</td> | 208 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>addr</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) – Address to connect to as a connection string</td> |
| 208 | </tr> | 209 | </tr> |
| 209 | <tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><code class="xref py py-exc docutils literal"><span class="pre">:class</span></code> – | 210 | <tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><code class="xref py py-class docutils literal"><span class="pre">Exception</span></code></td> |
| 210 | <cite>Exception</cite></td> | ||
| 211 | </tr> | 211 | </tr> |
| 212 | </tbody> | 212 | </tbody> |
| 213 | </table> | 213 | </table> |
| @@ -221,10 +221,9 @@ socket</li> | |||
| 221 | <col class="field-name" /> | 221 | <col class="field-name" /> |
| 222 | <col class="field-body" /> | 222 | <col class="field-body" /> |
| 223 | <tbody valign="top"> | 223 | <tbody valign="top"> |
| 224 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>addr</strong> (<a class="reference external" href="https://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) – Address to listen on as a connction string</td> | 224 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>addr</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) – Address to listen on as a connction string</td> |
| 225 | </tr> | 225 | </tr> |
| 226 | <tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><code class="xref py py-exc docutils literal"><span class="pre">:class</span></code> – | 226 | <tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><code class="xref py py-class docutils literal"><span class="pre">Exception</span></code></td> |
| 227 | <cite>Exception</cite></td> | ||
| 228 | </tr> | 227 | </tr> |
| 229 | </tbody> | 228 | </tbody> |
| 230 | </table> | 229 | </table> |
| @@ -238,10 +237,13 @@ socket</li> | |||
| 238 | <col class="field-name" /> | 237 | <col class="field-name" /> |
| 239 | <col class="field-body" /> | 238 | <col class="field-body" /> |
| 240 | <tbody valign="top"> | 239 | <tbody valign="top"> |
| 241 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">True if the receiver is ready to connect or listen, otherwise | 240 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><dl class="docutils"> |
| 242 | False</td> | 241 | <dt>True if the receiver is ready to connect or listen, otherwise</dt> |
| 242 | <dd>False</dd> | ||
| 243 | </dl> | ||
| 244 | </td> | ||
| 243 | </tr> | 245 | </tr> |
| 244 | <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/library/functions.html#bool" title="(in Python v2.7)">bool</a></td> | 246 | <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td> |
| 245 | </tr> | 247 | </tr> |
| 246 | </tbody> | 248 | </tbody> |
| 247 | </table> | 249 | </table> |
| @@ -259,9 +261,9 @@ parameters as <code class="xref py py-meth docutils literal"><span class="pre">s | |||
| 259 | <col class="field-body" /> | 261 | <col class="field-body" /> |
| 260 | <tbody valign="top"> | 262 | <tbody valign="top"> |
| 261 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> | 263 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
| 262 | <li><strong>socket</strong> (<a class="reference external" href="http://pyzmq.readthedocs.org/en/v15.0.0/api/zmq.html#zmq.Socket" title="(in PyZMQ v15.0.0)"><code class="xref py py-class docutils literal"><span class="pre">zmq.Socket</span></code></a>) – Should be one of <code class="xref py py-attr docutils literal"><span class="pre">zmq.REQ</span></code> or | 264 | <li><strong>socket</strong> (<a class="reference external" href="http://pyzmq.readthedocs.io/en/v15.0.0/api/zmq.html#zmq.Socket" title="(in PyZMQ v15.0.0)"><code class="xref py py-class docutils literal"><span class="pre">zmq.Socket</span></code></a>) – Should be one of <code class="xref py py-attr docutils literal"><span class="pre">zmq.REQ</span></code> or |
| 263 | <code class="xref py py-attr docutils literal"><span class="pre">zmq.DEALER</span></code>. By default a <cite>DEALER</cite> is used</li> | 265 | <code class="xref py py-attr docutils literal"><span class="pre">zmq.DEALER</span></code>. By default a <cite>DEALER</cite> is used</li> |
| 264 | <li><strong>skip_zmqstream</strong> (<a class="reference external" href="https://docs.python.org/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – If set to true, skip creating the zmqstream | 266 | <li><strong>skip_zmqstream</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – If set to true, skip creating the zmqstream |
| 265 | socket</li> | 267 | socket</li> |
| 266 | </ul> | 268 | </ul> |
| 267 | </td> | 269 | </td> |
| @@ -278,10 +280,9 @@ socket</li> | |||
| 278 | <col class="field-name" /> | 280 | <col class="field-name" /> |
| 279 | <col class="field-body" /> | 281 | <col class="field-body" /> |
| 280 | <tbody valign="top"> | 282 | <tbody valign="top"> |
| 281 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>addr</strong> (<a class="reference external" href="https://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) – Address to unbind from as a string</td> | 283 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>addr</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) – Address to unbind from as a string</td> |
| 282 | </tr> | 284 | </tr> |
| 283 | <tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><code class="xref py py-exc docutils literal"><span class="pre">:class</span></code> – | 285 | <tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><code class="xref py py-class docutils literal"><span class="pre">Exception</span></code></td> |
| 284 | <cite>Exception</cite></td> | ||
| 285 | </tr> | 286 | </tr> |
| 286 | </tbody> | 287 | </tbody> |
| 287 | </table> | 288 | </table> |