cosEventDomainApp(3)

πŸ“¦
version 5.2.2 Β· 2 versions
, in fedora 43, fedora 44

✨ cosEventDomainApp ✨

okay so bestie, welcome to the manual page for cosEventDomainApp(3) β€” yeah, the Erlang Module Definition one, from the cosEventDomain crew πŸ’… she's the main module of the cosEventDomain application, and she's here to help you start, stop, and generally vibe-manage the whole thing.


🌸 NAME 🌸

cosEventDomainApp β€” the main module of the cosEventDomain application. she's giving main character energy, fr fr πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

so if you wanna get access to the record definitions for the structures, you're gonna need this little line right here:

-include_lib("cosEventDomain/include/*.hrl").

that's it, that's the include. no cap.

and like, this module? it contains the functions for starting and stopping the application. that's the whole job. iconic behaviour honestly πŸŽ€


πŸ’– EXPORTS πŸ’–

okay here come the functions, and yes, we're doing all of them. no skips, no shortcuts, we stay thorough in this house 🫢

  • install() -> Return β€” this operation installs the cosEventDomain application. putting her in place, respectfully ✨

Types:

Return = ok | {'EXCEPTION', E} | {'EXIT', R}
  • uninstall() -> Return β€” this operation uninstalls the cosEventDomain application. taking her back out, also respectfully πŸ“

Types:

Return = ok | {'EXCEPTION', E} | {'EXIT', R}
  • start() -> Return β€” this operation starts the cosEventDomain application. we love a fresh start πŸ’œ

Types:

Return = ok | {error, Reason}
  • stop() -> Return β€” this operation stops the cosEventDomain application. say bye bestie πŸ‘‹

Types:

Return = ok | {error, Reason}
  • start_factory() -> Factory β€” this operation creates a new instance of an Event Domain Factory using the default settings. just a lil factory, born fresh, defaults and all 🌈

Types:

Factory = #objref
  • start_factory(Options) -> Factory β€” this operation creates a new instance of an Event Domain Factory. (and lowkey the options situation is… a moment, see below πŸ™ˆ)

Types:

Options = [Option]
Option = currently no options defined.
Factory = #objref
  • start_factory_link() -> Factory β€” this operation creates a new instance of an Event Domain Factory, which is linked to the invoking process, using the default settings. she's attached to you now, that's the vibe πŸ”—

Types:

Factory = #objref
  • start_factory_link(Options) -> Factory β€” this operation creates a new instance of an Event Domain Factory, which is linked to the invoking process, with settings defined by the given options. and get this β€” the allowed options are the same as for cosEventDomainApp:start_factory/1. so like, consistent. we stan consistency ⭐

Types:

Options = [Option]
Option = currently no options defined.
Factory = #objref
  • stop_factory(Factory) -> Reply β€” this operation stop the target factory. (yes, "stop", not "stops" β€” we're quoting the original, we don't fix what's iconic πŸ’…) shutting her down, gently.

Types:

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

little heads up bestie: in both start_factory(Options) and start_factory_link(Options), the Option type literally says "currently no options defined." so don't go inventing options, okay? there aren't any yet. periodt.

and that's the whole page!! this absolute banger was brought to you by Ericsson AB, running cosEventDomain 5.2.2 β€” yeah, version 5.2.2, and it's the cosEventDomainApp(3) manual page you just read. go forth and start your factories responsibly, bestie πŸ§šπŸ’–

πŸ“¦ where this page comes from