Module espace_sup

.

Copyright © (C) 2017, Fred Youhanaie

Behaviours: supervisor.

Authors: Fred Youhanaie (fyrlang@anydata.co.uk).

Description

Main espace application supervisor. It handles the main application components.

There are three child components, all are gen_servers. Two are the main application servers, and the third is the etsmgr application in embedded mode, i.e. there is no separate etsmgr application. We also make sure that etsmgr_srv is the first child to be started as the other two servers depend on this server.

For the child specification, we rely on the default settings of:
     restart  => permanent,
     shutdown => 5000,
     type     => worker
   

Function Index

start_link/1 Starts the main supervisor.

Function Details

start_link/1

start_link(Inst_name::atom()) -> supervisor:startlink_ret()

Starts the main supervisor.

We expect an espace instance name, which will uniquely identify all the components of the application.


Generated by EDoc