Sophie

Sophie

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

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="next" href="Versioned_rpc.Connection_with_menu.html">
<link rel="Up" href="Versioned_rpc.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>Versioned_rpc.Menu</title>
</head>
<body>
<div class="navbar">&nbsp;<a class="up" href="Versioned_rpc.html" title="Versioned_rpc">Up</a>
&nbsp;<a class="post" href="Versioned_rpc.Connection_with_menu.html" title="Versioned_rpc.Connection_with_menu">Next</a>
</div>
<h1>Module <a href="type_Versioned_rpc.Menu.html">Versioned_rpc.Menu</a></h1>

<pre><span class="keyword">module</span> Menu: <code class="code">sig</code> <a href="Versioned_rpc.Menu.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>
<div class="info ">
a directory of supported rpc names and versions.<br>
</div>


<pre><span id="VALadd"><span class="keyword">val</span> add</span> : <code class="type">'s <a href="Rpc.Implementation.html#TYPEt">Rpc.Implementation.t</a> list -> 's <a href="Rpc.Implementation.html#TYPEt">Rpc.Implementation.t</a> list</code></pre><div class="info ">
<code class="code">add impls</code> extends a list of rpc implementations with an additional
      rpc implementation for providing a <code class="code">Menu.t</code> when one is requested
      via <code class="code">Menu.request</code>.<br>
</div>

<pre><span id="VALrequest"><span class="keyword">val</span> request</span> : <code class="type">Rpc.Connection.t -><br>       <a href="Versioned_rpc.Menu.html#TYPEt">t</a> Core.Std.Or_error.t Import.Deferred.t</code></pre><div class="info ">
request an rpc version menu from an rpc connection<br>
</div>

<pre><span id="VALsupported_rpcs"><span class="keyword">val</span> supported_rpcs</span> : <code class="type"><a href="Versioned_rpc.Menu.html#TYPEt">t</a> -> <a href="Rpc.Implementation.Description.html#TYPEt">Rpc.Implementation.Description.t</a> list</code></pre><div class="info ">
find what rpcs are supported<br>
</div>

<pre><span id="VALsupported_versions"><span class="keyword">val</span> supported_versions</span> : <code class="type"><a href="Versioned_rpc.Menu.html#TYPEt">t</a> -> rpc_name:string -> Core.Std.Int.Set.t</code></pre><div class="info ">
find what versions of a particular rpc are supported<br>
</div>
</body></html>