Module Hydro_params


module Hydro_params: sig .. end
Creating and modifying runtime parameters

val call_params : ?msg_timeout:float ->
?destination:Unix.sockaddr ->
?context:(string * string) list -> unit -> Hydro_types.call_params
Create a set of call parameters. Omitted values appear as None in the set:
val update_call_params : ?msg_timeout:float ->
?destination:Unix.sockaddr ->
?context:(string * string) list ->
Hydro_types.call_params -> Hydro_types.call_params
Modifies the given call params
val client_params : ?trans_timeout:float ->
?msg_timeout:float ->
?idle_timeout:float ->
?exception_handler:Hydro_types.exn_handler ->
?max_proto_minor:int ->
?max_enc_minor:int -> unit -> Hydro_types.client_params
Create a set of client parameters:
val update_client_params : ?trans_timeout:float ->
?msg_timeout:float ->
?idle_timeout:float ->
?exception_handler:Hydro_types.exn_handler ->
?max_proto_minor:int option ->
?max_enc_minor:int option ->
Hydro_types.client_params -> Hydro_types.client_params
Modifies the given client params
val update_client_params_by_endpoint : Hydro_types.endpoint ->
Hydro_types.client_params -> Hydro_types.client_params
Updates the trans_timeout, max_proto_minor and max_enc_minor parameters by the values found in the endpoint:
val default_exception_handler : Hydro_types.exn_handler
The default handler just prints the exception to stderr
val client_params_cmp : Hydro_types.client_params -> Hydro_types.client_params -> int
Compares two client params objects, and returns a result like Pervasives.compare. The functions compares the values of the methods.
val server_params : ?trans_timeout:float -> unit -> Hydro_types.server_params
Create a set of server parameters:
val update_server_params : ?trans_timeout:float ->
Hydro_types.server_params -> Hydro_types.server_params
Modifies the given server params