---
name: "cosEventDomainApp"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:19.2.1+dfsg-2+deb9u3"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/cosEventDomainApp"
---

# cosEventDomainApp(3erl)

The main module of the cosEventDomain application.

## NAME

cosEventDomainApp - The main module of the cosEventDomain application.

## DESCRIPTION

To get access to the record definitions for the structures use:\
 *-include\_lib("cosEventDomain/include/\*.hrl").*

This module contains the functions for starting and stopping the application.

## EXPORTS

**install() -\> Return**\

Types:

Return = ok \| {'EXCEPTION', E} \| {'EXIT', R}\

This operation installs the cosEventDomain application.

**uninstall() -\> Return**\

Types:

Return = ok \| {'EXCEPTION', E} \| {'EXIT', R}\

This operation uninstalls the cosEventDomain application.

**start() -\> Return**\

Types:

Return = ok \| {error, Reason}\

This operation starts the cosEventDomain application.

**stop() -\> Return**\

Types:

Return = ok \| {error, Reason}\

This operation stops the cosEventDomain application.

**start\_factory() -\> Factory**\

Types:

Factory = #objref\

This operation creates a new instance of a **Event Domain Factory** using the default settings.

**start\_factory(Options) -\> Factory**\

Types:

Options = \[Option\]\
 Option = currently no options defined.\
 Factory = #objref\

This operation creates a new instance of a **Event Domain Factory**

**start\_factory\_link() -\> Factory**\

Types:

Factory = #objref\

This operation creates a new instance of a **Event Domain Factory**, which is linked to the invoking process, using the default settings.

**start\_factory\_link(Options) -\> Factory**\

Types:

Options = \[Option\]\
 Option = currently no options defined.\
 Factory = #objref\

This operation creates a new instance of a **Event Domain Factory**, which is linked to the invoking process, with settings defined by the given options. Allowed options are the same as for *cosEventDomainApp:start\_factory/1*.

**stop\_factory(Factory) -\> Reply**\

Types:

Factory = #objref\
 Reply = ok \| {'EXCEPTION', E}\

This operation stop the target factory.
