Module Rpc_client


module Rpc_client: sig .. end

exception Message_lost
exception Message_timeout
exception Communication_error of exn
exception Client_is_down
exception Keep_call
type t 

type connector =
| Inet of (string * int)
| InetNumeric of (int * int * int * int * int)
| Unix of string
| Descriptor of Unix.file_descr
| Dynamic_descriptor of (unit -> Unix.file_descr)
| Dynamic_descriptor' of ((unit -> Unix.file_descr) * (t -> Unix.file_descr -> unit))
val shutdown_connector : t -> connector -> Unix.file_descr -> unit
val create : ?program_number:Rtypes.uint4 ->
?version_number:Rtypes.uint4 ->
?initial_xid:int ->
?shutdown:(t -> connector -> Unix.file_descr -> unit) ->
Unixqueue.event_system ->
connector -> Rpc.protocol -> Rpc_program.t -> t
val configure : t -> int -> float -> unit
val set_exception_handler : t -> (exn -> unit) -> unit
val add_call : t ->
string -> Xdr.xdr_value -> ((unit -> Xdr.xdr_value) -> unit) -> unit
val event_system : t -> Unixqueue.event_system
val program : t -> Rpc_program.t
val get_socket_name : t -> Unix.sockaddr
val get_peer_name : t -> Unix.sockaddr
val get_protocol : t -> Rpc.protocol
val sync_call : t -> string -> Xdr.xdr_value -> Xdr.xdr_value
val shut_down : t -> unit
class type auth_session = object .. end
class type auth_method = object .. end
val auth_none : auth_method
val set_auth_methods : t -> auth_method list -> unit
val verbose : bool -> unit