Copyright © (C) 2017, Fred Youhanaie
Behaviours: supervisor
.
Authors: Fred Youhanaie (fyrlang@anydata.co.uk
).
Main espace application supervisor. It handles the main application components.
There are three child components, all are gen_server
s. 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.
restart => permanent, shutdown => 5000, type => worker
start_link/1 | Starts the main supervisor. |
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