CosEventCh...sumerAdmin(3)
π CosEventChannelAdmin_ConsumerAdmin π
ok so bestie, welcome to CosEventChannelAdmin_ConsumerAdmin β that's the Erlang module we're vibing with today, and it's a manual page from section 3 (the library-call girlies, iykyk). grab a strawberry drink π and let's get into it.
β¨ NAME β¨
CosEventChannelAdmin_ConsumerAdmin β this module implements a ConsumerAdmin interface, which is literally the thing that lets consumers get connected to the event channel. π«Ά
πΈ DESCRIPTION πΈ
okay so picture this: the ConsumerAdmin interface is the first step for connecting consumers to the event channel. she's giving gateway, she's giving main character energy π
She acts as a factory for creating proxy suppliers. yes bestie, suppliers. that's not a typo, that's the whole point of this object.
And here's the tea β β both consumer administration and supplier administration are defined as separate objects on purpose, so that the creator of the channel can control the addition of suppliers and consumers. separation of concerns? we love to see it. periodt. π
To get access to all definitions, include the necessary hrl files by using:
-include_lib("cosEvent/include/*.hrl").
π EXPORTS π
π obtain_push_supplier(Object) -> Return
Types:
Object = #objref
Return = #objref
This operation returns a ProxyPushSupplier object reference. that's it, that's the whole job, and she does it flawlessly. β¨
π¦ obtain_pull_supplier(Object) -> Return
Types:
Object = #objref
Return = #objref
This operation returns a ProxyPullSupplier object reference. push's quieter sibling, but equally iconic. π
and that's the whole page bestie, no hidden lore, no secret flags, we kept every single crumb of detail for you π§
this lil love letter to you was brought to you by Ericsson AB, running cosEvent 5.2.2 β signed, sealed, and slayed πβ¨π
π¦ where this page comes from
- fedora 43: erlang-cosEvent 1:5.2.2-1.fc43 Β· Apache-2.0
- fedora 44: erlang-cosEvent 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