CosEventDo...ainFactory(3)
π 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
- fedora 43: erlang-cosEventDomain 1:5.2.2-1.fc43 Β· Apache-2.0
- fedora 44: erlang-cosEventDomain 1:5.2.2-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms