Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > c7b8d5922a45aeb64a36e62c8024cf09 > files > 90

ocaml-async_extra-devel-109.24.00-2.mga4.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Typed_tcp.Make.html">
<link rel="Up" href="Typed_tcp.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Command" rel="Chapter" href="Command.html">
<link title="File_tail" rel="Chapter" href="File_tail.html">
<link title="File_writer" rel="Chapter" href="File_writer.html">
<link title="Import" rel="Chapter" href="Import.html">
<link title="Lock_file" rel="Chapter" href="Lock_file.html">
<link title="Log" rel="Chapter" href="Log.html">
<link title="Persistent_singleton" rel="Chapter" href="Persistent_singleton.html">
<link title="Rpc" rel="Chapter" href="Rpc.html">
<link title="Rpc_intf" rel="Chapter" href="Rpc_intf.html">
<link title="Std" rel="Chapter" href="Std.html">
<link title="Tcp" rel="Chapter" href="Tcp.html">
<link title="Tcp_file" rel="Chapter" href="Tcp_file.html">
<link title="Typed_tcp" rel="Chapter" href="Typed_tcp.html">
<link title="Typed_tcp_intf" rel="Chapter" href="Typed_tcp_intf.html">
<link title="Unpack_sequence" rel="Chapter" href="Unpack_sequence.html">
<link title="User_and_group" rel="Chapter" href="User_and_group.html">
<link title="Versioned_rpc" rel="Chapter" href="Versioned_rpc.html">
<link title="Versioned_typed_tcp" rel="Chapter" href="Versioned_typed_tcp.html">
<link title="Weak_hashtbl" rel="Chapter" href="Weak_hashtbl.html"><title>Typed_tcp.Simple</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Typed_tcp.Make.html" title="Typed_tcp.Make">Previous</a>
&nbsp;<a class="up" href="Typed_tcp.html" title="Typed_tcp">Up</a>
&nbsp;</div>
<h1>Functor <a href="type_Typed_tcp.Simple.html">Typed_tcp.Simple</a></h1>

<pre><span class="keyword">module</span> Simple: <div class="sig_block"><code class="code">functor (</code><code class="code">Client_message</code><code class="code"> : </code><code class="type"><a href="Typed_tcp.Binable_t.html">Binable_t</a></code><code class="code">) -&gt; </code><div class="sig_block"><code class="code">functor (</code><code class="code">Server_message</code><code class="code"> : </code><code class="type"><a href="Typed_tcp.Binable_t.html">Binable_t</a></code><code class="code">) -&gt; </code><code class="type"><a href="Typed_tcp.S.html">S</a></code><code class="type"> 
    with type Client_message.t = Client_message.t</code><code class="type"> 
    with type Server_message.t = Server_message.t</code></div></div></pre><table border="0" cellpadding="3" width="100%">
<tr>
<td align="left" valign="top" width="1%%"><b>Parameters: </b></td>
<td>
<table class="paramstable">
<tr>
<td align="center" valign="top" width="15%">
<code>Client_message</code></td>
<td align="center" valign="top">:</td>
<td><code class="type"><a href="Typed_tcp.Binable_t.html">Binable_t</a></code>
<tr>
<td align="center" valign="top" width="15%">
<code>Server_message</code></td>
<td align="center" valign="top">:</td>
<td><code class="type"><a href="Typed_tcp.Binable_t.html">Binable_t</a></code>
</table>
</td>
</tr>
</table>
<hr width="100%">

<pre><span class="keyword">module</span> <a href="Typed_tcp_intf.S.Client_message.html">Client_message</a>: <code class="code">sig</code> <a href="Typed_tcp_intf.S.Client_message.html">..</a> <code class="code">end</code></pre>
<pre><span class="keyword">module</span> <a href="Typed_tcp_intf.S.Server_message.html">Server_message</a>: <code class="code">sig</code> <a href="Typed_tcp_intf.S.Server_message.html">..</a> <code class="code">end</code></pre>
<pre><span class="keyword">module</span> <a href="Typed_tcp_intf.S.Client_id.html">Client_id</a>: <code class="type">Core.Std.Unique_id</code><code class="type"> </code></pre>
<pre><span class="keyword">module</span> <a href="Typed_tcp_intf.S.Server_read_result.html">Server_read_result</a>: <code class="code">sig</code> <a href="Typed_tcp_intf.S.Server_read_result.html">..</a> <code class="code">end</code></pre>
<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> </pre>


<pre><span id="VALcreate"><span class="keyword">val</span> create</span> : <code class="type">?max_pending_connections:int -><br>       ?verbose:bool -><br>       ?log_disconnects:bool -><br>       ?buffer_age_limit:[ `At_most of Core.Std.Time.Span.t | `Unlimited ] -><br>       port:int -><br>       auth:(Import.Unix.Inet_addr.t -><br>             int -> [ `Allow | `Deny of string option ] Import.Deferred.t) -><br>       unit -> <a href="Typed_tcp_intf.S.html#TYPEt">t</a> Import.Deferred.t</code></pre>
<pre><span id="VALlisten"><span class="keyword">val</span> listen</span> : <code class="type"><a href="Typed_tcp_intf.S.html#TYPEt">t</a> -><br>       <a href="Typed_tcp_intf.S.Server_read_result.html#TYPEt">Server_read_result.t</a> Import.Pipe.Reader.t</code></pre>
<pre><span id="VALlisten_ignore_errors"><span class="keyword">val</span> listen_ignore_errors</span> : <code class="type"><a href="Typed_tcp_intf.S.html#TYPEt">t</a> -><br>       (Client_id.t * <a href="Typed_tcp_intf.S.Client_message.html#TYPEt">Client_message.t</a>) Import.Pipe.Reader.t</code></pre>
<pre><span id="VALclose"><span class="keyword">val</span> close</span> : <code class="type"><a href="Typed_tcp_intf.S.html#TYPEt">t</a> -> Client_id.t -> unit</code></pre>
<pre><span id="VALflushed_time"><span class="keyword">val</span> flushed_time</span> : <code class="type"><a href="Typed_tcp_intf.S.html#TYPEt">t</a> -><br>       Client_id.t -><br>       [ `Client_not_found | `Flushed of Core.Std.Time.t Import.Deferred.t ]</code></pre>
<pre><span id="VALhas_client_id"><span class="keyword">val</span> has_client_id</span> : <code class="type"><a href="Typed_tcp_intf.S.html#TYPEt">t</a> -> Client_id.t -> bool</code></pre>
<pre><span id="VALsend"><span class="keyword">val</span> send</span> : <code class="type"><a href="Typed_tcp_intf.S.html#TYPEt">t</a> -><br>       Client_id.t -><br>       <a href="Typed_tcp_intf.S.Server_message.html#TYPEt">Server_message.t</a> -><br>       [ `Drop of exn | `Sent of Core.Std.Time.t ] Import.Deferred.t</code></pre>
<pre><span id="VALsend_ignore_errors"><span class="keyword">val</span> send_ignore_errors</span> : <code class="type"><a href="Typed_tcp_intf.S.html#TYPEt">t</a> -><br>       Client_id.t -> <a href="Typed_tcp_intf.S.Server_message.html#TYPEt">Server_message.t</a> -> unit</code></pre>
<pre><span id="VALsend_to_all"><span class="keyword">val</span> send_to_all</span> : <code class="type"><a href="Typed_tcp_intf.S.html#TYPEt">t</a> -> <a href="Typed_tcp_intf.S.Server_message.html#TYPEt">Server_message.t</a> -> unit</code></pre>
<pre><span id="VALclient_addr_port"><span class="keyword">val</span> client_addr_port</span> : <code class="type"><a href="Typed_tcp_intf.S.html#TYPEt">t</a> -> Client_id.t -> (Import.Unix.Inet_addr.t * int) option</code></pre></body></html>