class type container =object
..end
method socket_service : socket_service
method ptype : parallelization_type
method event_system : Unixqueue.unix_event_system
method start : Unix.file_descr -> Unix.file_descr -> unit
post_start_hook
and the pre_finish_hook
.
The file descriptors are endpoints of RPC connections to the
controller. The first serves calls of the Control
program,
and the second serves calls of the System
program.
When start
returns the container will be terminated.
method shutdown : unit -> unit
method system : Rpc_client.t
start
is running. It is bound to
System.V1
.method lookup : string -> string -> string option
lookup service_name protocol_name
tries to find a Unix domain
socket for the service and returns it.method send_message : string -> string -> string array -> unit
send_message service_pattern msg_name msg_arguments
: Sends
a message to all services matching service_pattern
. The pattern
may include the wildcard *
.method log : level -> string -> unit
method var : string -> param_value_or_any
Not_found
. Container
variables can be used by the user of a container to store additional
values in the container. These values exist once per thread/process.method set_var : string -> param_value_or_any -> unit