CosEventDo...ainFactory(3)

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

πŸ’– NAME πŸ’–

okay so bestie, let me introduce you to CosEventDomainAdmin_EventDomainFactory β€” it's the module that implements an Event Domain Factory interface, and its whole entire job is making brand new Event Domain instances. that's it. that's the gig. πŸ‘‘


✨ DESCRIPTION ✨

so if you wanna get access to literally all the definitions, you gotta include the necessary hrl files like this, no skips:

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

that's the vibe check. do it or nothing works. 🫢


🌸 EXPORTS 🌸

create_event_domain(Factory, QoS, Admin) -> Reply

Types:

Factory = #objref
QoS = CosNotification::QoSProperties
Admin = CosNotification::AdminProperties
Reply = {EventDomain, DomainID} | {'EXCEPTION',
#'CosNotification_UnsupportedQoS'{}} | {'EXCEPTION',
#'CosNotification_UnsupportedAdmin'{}}
EventDomain = #objref

this is the operation you use to create a new EventDomain. main character behavior fr fr. πŸ’…

now, if it's not possible to support the QoSProperties or AdminProperties you handed it, it raises an exception β€” and that exception literally lists out the properties it couldn't support, which is lowkey helpful ngl. for more info, go check the cosNotification user's guide. iykyk. πŸ“šβœ¨

get_all_domains(Factory) -> DomainIDSeq

Types:

Factory = #objref
DomainIDSeq = [long()]

this function returns a DomainID sequence of all the domains associated with the target object. all of them. every single one. collecting them like pokΓ©mon. πŸ¦‹

get_event_domain(Factory, DomainID) -> Reply

Types:

Factory = #objref
DomainID = long()
Reply = EventDomain | {'EXCEPTION',
#'CosEventDomainAdmin_DomainNotFound'{}}
EventDomain = #objref

this operation returns the EventDomain object associated with the given DomainID. πŸŽ€

but bestie, listen β€” if no such binding exists, it raises an exception. no domain, no service, that's the rule. CosEventDomainAdmin_DomainNotFound said what it said. πŸ’€

and that's the whole page, you ate it, periodt. 🌈

this masterpiece was brought to you by Ericsson AB, living under the cosEventDomain era, version 5.2.2 β€” mwah, iconic, no cap. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from