[Ericsson AB]

eva_server

MODULE

eva_server

MODULE SUMMARY

The Main Global Server in EVA

DESCRIPTION

This module implements the main global server in EVA. The client API towards this server is defined in the module eva. The functions in this module are used to start the service.

EXPORTS

create_tables(Nodes) -> void()

Types:

Nodes = [node()]

This function creates the Mnesia tables required for the eva_server. Nodes is a list of nodes where the tables should be replicated. This list of nodes should specify the same nodes where the application EVA can be run distributed, so that EVA always can have local access to the tables.

This function should be called once when installing the EVA application in the system.

start_link() -> {ok, Pid} | {error, Reason}

Starts the eva server. This function can be used to include the server in a supervisor. Normally, functions in the supervisor eva_sup can be used instead.

The function create_tables/1 must have been called before the server is started.

See Also

eva(3), eva_sup(3)

AUTHORS

Martin Björklund - support@erlang.ericsson.se

eva 2.0.4
Copyright © 1991-2006 Ericsson AB