diff options
Diffstat (limited to 'utils/devices.html')
| -rw-r--r-- | utils/devices.html | 243 |
1 files changed, 243 insertions, 0 deletions
diff --git a/utils/devices.html b/utils/devices.html new file mode 100644 index 0000000..b5d254a --- /dev/null +++ b/utils/devices.html | |||
| @@ -0,0 +1,243 @@ | |||
| 1 | |||
| 2 | |||
| 3 | <!DOCTYPE html> | ||
| 4 | <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> | ||
| 5 | <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> | ||
| 6 | <head> | ||
| 7 | <meta charset="utf-8"> | ||
| 8 | |||
| 9 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| 10 | |||
| 11 | <title>devices – Device Utilities — EventMQ 0 documentation</title> | ||
| 12 | |||
| 13 | |||
| 14 | |||
| 15 | |||
| 16 | |||
| 17 | |||
| 18 | |||
| 19 | |||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | |||
| 25 | |||
| 26 | |||
| 27 | <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" /> | ||
| 28 | |||
| 29 | |||
| 30 | |||
| 31 | |||
| 32 | |||
| 33 | <link rel="top" title="EventMQ 0 documentation" href="../index.html"/> | ||
| 34 | <link rel="up" title="utils – Utilities" href="index.html"/> | ||
| 35 | <link rel="next" title="messages – Message Utilities" href="messages.html"/> | ||
| 36 | <link rel="prev" title="classes – Utility Classes" href="classes.html"/> | ||
| 37 | |||
| 38 | |||
| 39 | <script src="../_static/js/modernizr.min.js"></script> | ||
| 40 | |||
| 41 | </head> | ||
| 42 | |||
| 43 | <body class="wy-body-for-nav" role="document"> | ||
| 44 | |||
| 45 | <div class="wy-grid-for-nav"> | ||
| 46 | |||
| 47 | |||
| 48 | <nav data-toggle="wy-nav-shift" class="wy-nav-side"> | ||
| 49 | <div class="wy-side-scroll"> | ||
| 50 | <div class="wy-side-nav-search"> | ||
| 51 | |||
| 52 | |||
| 53 | |||
| 54 | <a href="../index.html" class="icon icon-home"> EventMQ | ||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | </a> | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | <div class="version"> | ||
| 64 | 0 | ||
| 65 | </div> | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | <div role="search"> | ||
| 71 | <form id="rtd-search-form" class="wy-form" action="../search.html" method="get"> | ||
| 72 | <input type="text" name="q" placeholder="Search docs" /> | ||
| 73 | <input type="hidden" name="check_keywords" value="yes" /> | ||
| 74 | <input type="hidden" name="area" value="default" /> | ||
| 75 | </form> | ||
| 76 | </div> | ||
| 77 | |||
| 78 | |||
| 79 | </div> | ||
| 80 | |||
| 81 | <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | <ul class="current"> | ||
| 86 | <li class="toctree-l1 current"><a class="reference internal" href="../api.html">API Documentation</a><ul class="current"> | ||
| 87 | <li class="toctree-l2"><a class="reference internal" href="../client.html"><code class="docutils literal"><span class="pre">client</span></code> – Client Utilities</a></li> | ||
| 88 | <li class="toctree-l2"><a class="reference internal" href="../exceptions.html"><code class="docutils literal"><span class="pre">exceptions</span></code> – Exceptions</a></li> | ||
| 89 | <li class="toctree-l2"><a class="reference internal" href="../jobmanager.html"><code class="docutils literal"><span class="pre">jobmanager</span></code> – Job Manager</a></li> | ||
| 90 | <li class="toctree-l2"><a class="reference internal" href="../poller.html"><code class="docutils literal"><span class="pre">poller</span></code> – Poller</a></li> | ||
| 91 | <li class="toctree-l2"><a class="reference internal" href="../receiver.html"><code class="docutils literal"><span class="pre">receiver</span></code> – Receiver</a></li> | ||
| 92 | <li class="toctree-l2"><a class="reference internal" href="../router.html"><code class="docutils literal"><span class="pre">router</span></code> – Router</a></li> | ||
| 93 | <li class="toctree-l2"><a class="reference internal" href="../sender.html"><code class="docutils literal"><span class="pre">sender</span></code> – Sender</a></li> | ||
| 94 | <li class="toctree-l2 current"><a class="reference internal" href="index.html"><code class="docutils literal"><span class="pre">utils</span></code> – Utilities</a><ul class="current"> | ||
| 95 | <li class="toctree-l3"><a class="reference internal" href="classes.html"><code class="docutils literal"><span class="pre">classes</span></code> – Utility Classes</a></li> | ||
| 96 | <li class="toctree-l3 current"><a class="current reference internal" href=""><code class="docutils literal"><span class="pre">devices</span></code> – Device Utilities</a></li> | ||
| 97 | <li class="toctree-l3"><a class="reference internal" href="messages.html"><code class="docutils literal"><span class="pre">messages</span></code> – Message Utilities</a></li> | ||
| 98 | <li class="toctree-l3"><a class="reference internal" href="timeutils.html"><code class="docutils literal"><span class="pre">timeutils</span></code> – Time Utilites</a></li> | ||
| 99 | </ul> | ||
| 100 | </li> | ||
| 101 | </ul> | ||
| 102 | </li> | ||
| 103 | <li class="toctree-l1"><a class="reference internal" href="../contributing.html">Contributing to EventMQ</a></li> | ||
| 104 | </ul> | ||
| 105 | |||
| 106 | |||
| 107 | |||
| 108 | </div> | ||
| 109 | </div> | ||
| 110 | </nav> | ||
| 111 | |||
| 112 | <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"> | ||
| 113 | |||
| 114 | |||
| 115 | <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> | ||
| 116 | <i data-toggle="wy-nav-top" class="fa fa-bars"></i> | ||
| 117 | <a href="../index.html">EventMQ</a> | ||
| 118 | </nav> | ||
| 119 | |||
| 120 | |||
| 121 | |||
| 122 | <div class="wy-nav-content"> | ||
| 123 | <div class="rst-content"> | ||
| 124 | |||
| 125 | |||
| 126 | |||
| 127 | |||
| 128 | |||
| 129 | |||
| 130 | <div role="navigation" aria-label="breadcrumbs navigation"> | ||
| 131 | <ul class="wy-breadcrumbs"> | ||
| 132 | <li><a href="../index.html">Docs</a> »</li> | ||
| 133 | |||
| 134 | <li><a href="../api.html">API Documentation</a> »</li> | ||
| 135 | |||
| 136 | <li><a href="index.html"><code class="docutils literal"><span class="pre">utils</span></code> – Utilities</a> »</li> | ||
| 137 | |||
| 138 | <li><code class="docutils literal"><span class="pre">devices</span></code> – Device Utilities</li> | ||
| 139 | <li class="wy-breadcrumbs-aside"> | ||
| 140 | |||
| 141 | |||
| 142 | <a href="../_sources/utils/devices.txt" rel="nofollow"> View page source</a> | ||
| 143 | |||
| 144 | |||
| 145 | </li> | ||
| 146 | </ul> | ||
| 147 | <hr/> | ||
| 148 | </div> | ||
| 149 | <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> | ||
| 150 | <div itemprop="articleBody"> | ||
| 151 | |||
| 152 | <span class="target" id="module-eventmq.utils.devices"></span><div class="section" id="devices-device-utilities"> | ||
| 153 | <h1><code class="xref py py-mod docutils literal"><span class="pre">devices</span></code> – Device Utilities<a class="headerlink" href="#devices-device-utilities" title="Permalink to this headline">¶</a></h1> | ||
| 154 | <dl class="function"> | ||
| 155 | <dt id="eventmq.utils.devices.generate_device_name"> | ||
| 156 | <code class="descclassname">eventmq.utils.devices.</code><code class="descname">generate_device_name</code><span class="sig-paren">(</span><em>prefix=None</em><span class="sig-paren">)</span><a class="headerlink" href="#eventmq.utils.devices.generate_device_name" title="Permalink to this definition">¶</a></dt> | ||
| 157 | <dd><p>This takes care of the python3 ‘everything is unicode’ feature which | ||
| 158 | causes errors when setting the IDENTITY of the ZMQ socket.</p> | ||
| 159 | <table class="docutils field-list" frame="void" rules="none"> | ||
| 160 | <col class="field-name" /> | ||
| 161 | <col class="field-body" /> | ||
| 162 | <tbody valign="top"> | ||
| 163 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>prefix</strong> (<a class="reference external" href="https://docs.python.org/library/functions.html#str" title="(in Python v2.7)"><em>str</em></a>) – Prefix the id with this string.</td> | ||
| 164 | </tr> | ||
| 165 | </tbody> | ||
| 166 | </table> | ||
| 167 | <dl class="docutils"> | ||
| 168 | <dt>Returns (str) An ascii encoded string that can be used as an IDENTITY for a</dt> | ||
| 169 | <dd>ZMQ socket.</dd> | ||
| 170 | </dl> | ||
| 171 | </dd></dl> | ||
| 172 | |||
| 173 | </div> | ||
| 174 | |||
| 175 | |||
| 176 | </div> | ||
| 177 | </div> | ||
| 178 | <footer> | ||
| 179 | |||
| 180 | <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> | ||
| 181 | |||
| 182 | <a href="messages.html" class="btn btn-neutral float-right" title="messages – Message Utilities" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a> | ||
| 183 | |||
| 184 | |||
| 185 | <a href="classes.html" class="btn btn-neutral" title="classes – Utility Classes" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a> | ||
| 186 | |||
| 187 | </div> | ||
| 188 | |||
| 189 | |||
| 190 | <hr/> | ||
| 191 | |||
| 192 | <div role="contentinfo"> | ||
| 193 | <p> | ||
| 194 | © Copyright 2015, eventboard.io. | ||
| 195 | |||
| 196 | </p> | ||
| 197 | </div> | ||
| 198 | 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>. | ||
| 199 | |||
| 200 | </footer> | ||
| 201 | |||
| 202 | </div> | ||
| 203 | </div> | ||
| 204 | |||
| 205 | </section> | ||
| 206 | |||
| 207 | </div> | ||
| 208 | |||
| 209 | |||
| 210 | |||
| 211 | |||
| 212 | |||
| 213 | <script type="text/javascript"> | ||
| 214 | var DOCUMENTATION_OPTIONS = { | ||
| 215 | URL_ROOT:'../', | ||
| 216 | VERSION:'0', | ||
| 217 | COLLAPSE_INDEX:false, | ||
| 218 | FILE_SUFFIX:'.html', | ||
| 219 | HAS_SOURCE: true | ||
| 220 | }; | ||
| 221 | </script> | ||
| 222 | <script type="text/javascript" src="../_static/jquery.js"></script> | ||
| 223 | <script type="text/javascript" src="../_static/underscore.js"></script> | ||
| 224 | <script type="text/javascript" src="../_static/doctools.js"></script> | ||
| 225 | |||
| 226 | |||
| 227 | |||
| 228 | |||
| 229 | |||
| 230 | <script type="text/javascript" src="../_static/js/theme.js"></script> | ||
| 231 | |||
| 232 | |||
| 233 | |||
| 234 | |||
| 235 | <script type="text/javascript"> | ||
| 236 | jQuery(function () { | ||
| 237 | SphinxRtdTheme.StickyNav.enable(); | ||
| 238 | }); | ||
| 239 | </script> | ||
| 240 | |||
| 241 | |||
| 242 | </body> | ||
| 243 | </html> \ No newline at end of file | ||