Permalink
Browse files

Added handling of all socket options.

  • Loading branch information...
1 parent 8594948 commit 0d104d84be119b4107030272f08c33b7128a844b @saleyn saleyn committed Feb 21, 2011
Showing with 25 additions and 5 deletions.
  1. +1 −1 overview-summary.html
  2. +24 −4 zmq.html
View
@@ -228,6 +228,6 @@
<hr>
<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, Jan 4 2011, 19:48:10.</i></p>
+<p><i>Generated by EDoc, Feb 21 2011, 13:37:48.</i></p>
</body>
</html>
View
@@ -29,7 +29,7 @@ <h3 class="typedecl"><a name="type-zmq_socket">zmq_socket()</a></h3>
<p>Opaque 0MQ socket type.</p>
<h3 class="typedecl"><a name="type-zmq_sockopt">zmq_sockopt()</a></h3>
-<p><tt>zmq_sockopt() = {hwm, integer()} | {lwm, integer()} | {swap, integer()} | {affinity, integer()} | {identity, string()} | {subscribe, string()} | {unsubscibe, string()} | {rate, integer()} | {recovery_ivl, integer()} | {mcast_loop, <a href="#type-boolean">boolean()</a>} | {sndbuf, integer()} | {rcvbuf, integer()} | {rcvmore, <a href="#type-boolean">boolean()</a>} | {active, <a href="#type-boolean">boolean()</a>}</tt></p>
+<p><tt>zmq_sockopt() = {hwm, integer()} | {swap, integer()} | {affinity, integer()} | {identity, string()} | {subscribe, string()} | {unsubscibe, string()} | {rate, integer()} | {recovery_ivl, integer()} | {mcast_loop, <a href="#type-boolean">boolean()</a>} | {sndbuf, integer()} | {rcvbuf, integer()} | {rcvmore, <a href="#type-boolean">boolean()</a>} | {linger, <a href="#type-boolean">boolean()</a>} | {reconnect_ivl, integer()} | {backlog, integer()} | {recovery_ivl_msec, integer()} | {active, <a href="#type-boolean">boolean()</a>}</tt></p>
<p>0MQ socket options. See 0MQ man pages for details.
One additional options <code>active</code> indicates to the driver
that incoming messages must be automatically delivered
@@ -50,9 +50,13 @@ <h3 class="typedecl"><a name="type-zmq_sockopt">zmq_sockopt()</a></h3>
<tr><td valign="top"><a href="#setsockopt-2">setsockopt/2</a></td><td>Set socket options.</td></tr>
<tr><td valign="top"><a href="#socket-1">socket/1</a></td><td></td></tr>
<tr><td valign="top"><a href="#socket-2">socket/2</a></td><td>Create a 0MQ socket.</td></tr>
+<tr><td valign="top"><a href="#socket_int_to_type-1">socket_int_to_type/1</a></td><td></td></tr>
+<tr><td valign="top"><a href="#start-0">start/0</a></td><td>Equivalent to <a href="#start-1"><tt>start(1)</tt></a>.
+</td></tr>
+<tr><td valign="top"><a href="#start-1">start/1</a></td><td>Start the server.</td></tr>
<tr><td valign="top"><a href="#start_link-0">start_link/0</a></td><td>Equivalent to <a href="#start_link-1"><tt>start_link(1)</tt></a>.
</td></tr>
-<tr><td valign="top"><a href="#start_link-1">start_link/1</a></td><td>Start the server.</td></tr>
+<tr><td valign="top"><a href="#start_link-1">start_link/1</a></td><td>Start the server as part of a supervision tree.</td></tr>
</table>
<h2><a name="functions">Function Details</a></h2>
@@ -132,6 +136,22 @@ <h3 class="function"><a name="socket-2">socket/2</a></h3>
</ul></p>
</div><p>Create a 0MQ socket.</p>
+<h3 class="function"><a name="socket_int_to_type-1">socket_int_to_type/1</a></h3>
+<div class="spec">
+<p><tt>socket_int_to_type(X1) -&gt; any()</tt></p>
+</div>
+
+<h3 class="function"><a name="start-0">start/0</a></h3>
+<div class="spec">
+<p><tt>start() -&gt; any()</tt></p>
+</div><p>Equivalent to <a href="#start-1"><tt>start(1)</tt></a>.</p>
+
+
+<h3 class="function"><a name="start-1">start/1</a></h3>
+<div class="spec">
+<p><tt>start(IoThreads) -&gt; {ok, Pid} | {error, Error} | ignore</tt></p>
+</div><p>Start the server.</p>
+
<h3 class="function"><a name="start_link-0">start_link/0</a></h3>
<div class="spec">
<p><tt>start_link() -&gt; any()</tt></p>
@@ -141,10 +161,10 @@ <h3 class="function"><a name="start_link-0">start_link/0</a></h3>
<h3 class="function"><a name="start_link-1">start_link/1</a></h3>
<div class="spec">
<p><tt>start_link(IoThreads) -&gt; {ok, Pid} | {error, Error} | ignore</tt></p>
-</div><p>Start the server.</p>
+</div><p>Start the server as part of a supervision tree.</p>
<hr>
<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
-<p><i>Generated by EDoc, Jan 4 2011, 19:48:10.</i></p>
+<p><i>Generated by EDoc, Feb 21 2011, 13:37:48.</i></p>
</body>
</html>

0 comments on commit 0d104d8

Please sign in to comment.