Sophie

Sophie

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

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="Tcp_file.Server.html">
<link rel="Up" href="Tcp_file.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>Tcp_file.Client</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Tcp_file.Server.html" title="Tcp_file.Server">Previous</a>
&nbsp;<a class="up" href="Tcp_file.html" title="Tcp_file">Up</a>
&nbsp;</div>
<h1>Module <a href="type_Tcp_file.Client.html">Tcp_file.Client</a></h1>

<pre><span class="keyword">module</span> Client: <code class="code">sig</code> <a href="Tcp_file.Client.html">..</a> <code class="code">end</code></pre><hr width="100%">

<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> </pre>


<pre><span class="keyword">module</span> <a href="Tcp_file.Client.Error.html">Error</a>: <code class="code">sig</code> <a href="Tcp_file.Client.Error.html">..</a> <code class="code">end</code></pre>
<pre><span class="keyword">module</span> <a href="Tcp_file.Client.Message.html">Message</a>: <code class="code">sig</code> <a href="Tcp_file.Client.Message.html">..</a> <code class="code">end</code></pre>
<pre><span class="keyword">module</span> <a href="Tcp_file.Client.Response.html">Response</a>: <code class="code">sig</code> <a href="Tcp_file.Client.Response.html">..</a> <code class="code">end</code></pre>
<pre><span id="VALconnect"><span class="keyword">val</span> connect</span> : <code class="type">host:string -><br>       port:int -><br>       (<a href="Tcp_file.Client.html#TYPEt">t</a>, Core.Std.Exn.t) Core.Std.Result.t Import.Deferred.t</code></pre><div class="info ">
<code class="code">connect ~host ~port</code> connect to the server at (<code class="code">host</code>,<code class="code">port</code>)<br>
</div>

<pre><span id="VALdisconnect"><span class="keyword">val</span> disconnect</span> : <code class="type"><a href="Tcp_file.Client.html#TYPEt">t</a> -> unit Import.Deferred.t</code></pre><div class="info ">
<code class="code">disconnect t</code> disconnect from t.  Pipes delivered by read/tail will be closed.<br>
</div>

<pre><span id="VALread"><span class="keyword">val</span> read</span> : <code class="type"><a href="Tcp_file.Client.html#TYPEt">t</a> -><br>       string -> <a href="Tcp_file.Client.Response.html#TYPEt">Response.t</a> Import.Pipe.Reader.t Import.Deferred.t</code></pre><div class="info ">
<code class="code">read t filename</code> provides a pipe that will be filled with messages from <code class="code">filename</code>
      starting from the beginning, and continuing until the server calls <code class="code">unlink</code> or
      <code class="code">close</code>.  The client can indicate that it is no longer interested by calling
      <code class="code">Pipe.close_reader</code>.<br>
</div>

<pre><span id="VALtail"><span class="keyword">val</span> tail</span> : <code class="type"><a href="Tcp_file.Client.html#TYPEt">t</a> -><br>       string -> <a href="Tcp_file.Client.Response.html#TYPEt">Response.t</a> Import.Pipe.Reader.t Import.Deferred.t</code></pre><div class="info ">
<code class="code">tail t filename</code> same as <code class="code">read</code>, but delivers messages starting at some
      unspecified point near the current end of the file and continuing until the server
      calls <code class="code">unlink</code> or <code class="code">close</code>. The client can indicate that it is no longer interested
      by calling <code class="code">Pipe.close_reader</code>.<br>
</div>
</body></html>