Plasma GitLab Archive
Projects Blog Knowledge

Module Rpc_transport


module Rpc_transport: sig .. end
Low-level RPC transporters

type 'a result = [ `Error of exn | `Ok of 'a ] 
type 'a result_eof = [ `End_of_file | `Error of exn | `Ok of 'a ] 
type sockaddr = [ `Implied | `Sockaddr of Unix.sockaddr ] 
exception Error of string
Passed back as `Error. Such errors are fatal.

Note errors on stream connections: These are normally not recoverable. One should close the connection and open a new one.
class type rpc_multiplex_controller = object .. end
val stream_rpc_multiplex_controller : ?close_inactive_descr:bool ->
Unix.file_descr ->
Unixqueue.event_system -> rpc_multiplex_controller
The multiplex controller for stream encapsulation
val datagram_rpc_multiplex_controller : ?close_inactive_descr:bool ->
Unix.file_descr ->
Unixqueue.event_system -> rpc_multiplex_controller
The multiplex controller for datagrams
class stream_rpc_multiplex_controller : sockaddr -> sockaddr -> string option -> Uq_engines.multiplex_controller -> Unixqueue.event_system -> rpc_multiplex_controller
The class is exported for the SSL transporter
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml