module Netplex_config:Read the configuration filesig
..end
exception Config_error of string
val read_config_file : string -> Netplex_types.config_file
val repr_config_file : string -> Netplex_types.config_tree -> Netplex_types.config_file
repr_config_file name tree
: converts the tree
to a full
config_file
object. name
is the filename reported by the
object.val read_netplex_config : Netplex_types.parallelization_type ->
Netplex_types.logger_factory list ->
Netplex_types.workload_manager_factory list ->
Netplex_types.processor_factory list ->
Netplex_types.config_file -> Netplex_types.netplex_config
netplex {
<settings>
}
The configuration options are now documented in Netplex_admin
.
More documentation: See Example - A Simple Web Server for a
complete example of a config file. See Creating Sockets
for explanations how to specify sockets in the config file.