diff options
Diffstat (limited to 'sender.html')
| -rw-r--r-- | sender.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sender.html b/sender.html index b7c967f..9e4c0b6 100644 --- a/sender.html +++ b/sender.html | |||
| @@ -247,6 +247,29 @@ False</td> | |||
| 247 | </table> | 247 | </table> |
| 248 | </dd></dl> | 248 | </dd></dl> |
| 249 | 249 | ||
| 250 | <dl class="method"> | ||
| 251 | <dt id="eventmq.sender.Sender.rebuild"> | ||
| 252 | <code class="descname">rebuild</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#eventmq.sender.Sender.rebuild" title="Permalink to this definition">ΒΆ</a></dt> | ||
| 253 | <dd><p>Rebuilds the socket. This is useful when you need to reconnect to | ||
| 254 | something without restarting the process. Many of these things happen | ||
| 255 | happen during <code class="xref py py-meth docutils literal"><span class="pre">self.__init__()</span></code>, so it takes roughly the same | ||
| 256 | parameters as <code class="xref py py-meth docutils literal"><span class="pre">self.__init__()</span></code></p> | ||
| 257 | <table class="docutils field-list" frame="void" rules="none"> | ||
| 258 | <col class="field-name" /> | ||
| 259 | <col class="field-body" /> | ||
| 260 | <tbody valign="top"> | ||
| 261 | <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 | ||
| 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> | ||
| 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 | ||
| 265 | socket</li> | ||
| 266 | </ul> | ||
| 267 | </td> | ||
| 268 | </tr> | ||
| 269 | </tbody> | ||
| 270 | </table> | ||
| 271 | </dd></dl> | ||
| 272 | |||
| 250 | </dd></dl> | 273 | </dd></dl> |
| 251 | 274 | ||
| 252 | </div> | 275 | </div> |