Ocamlnet 3 Reference Manual : Netplex_types.socket_controller

# Class type Netplex_types.socket_controller

    class type socket_controller = object .. end

    method state : socket_state

The current state

    method enable : unit -> unit

Enables a disabled socket service again

    method disable : unit -> unit

Disable a socket service temporarily

    method restart : unit -> unit

Restarts the containers for this socket service only

    method shutdown : unit -> unit

Closes the socket service forever, and initiates a shutdown of all containers serving this type of service.

    method container_state : (container_id * string * container_state * bool)
           list

    method start_containers : int -> int

    method stop_containers : container_id list -> unit