COSNOTIFYCHANNELADMIN_STRUCTUREDPROXYPUSHSUPPLIER(3erl)

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

πŸŽ€ NAME πŸŽ€

CosNotifyChannelAdmin_StructuredProxyPushSupplier β€” this module implements the OMG CosNotifyChannelAdmin::StructuredProxyPushSupplier interface. iykyk πŸ’…


✨ DESCRIPTION ✨

okay bestie, first thing first β€” if you wanna get access to the record definitions for the structures, you gotta use this:

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

no cap, that's the whole vibe right there. πŸ¦‹

This module also exports the functions described in:

  • CosNotifyComm_NotifySubscribe
  • CosNotification_QoSAdmin
  • CosNotifyFilter_FilterAdmin
  • CosNotifyChannelAdmin_ProxySupplier

like, it's not just doing its own thing β€” it's carrying the whole friend group's functions too. main character energy fr fr πŸ‘‘


πŸ’… EXPORTS πŸ’…

🌸 connect_structured_push_consumer(StructuredProxyPushSupplier, PushConsumer) -> Reply

Types:

StructuredProxyPushSupplier = #objref
PushConsumer = #objref
Reply = ok | {'EXCEPTION',
#'CosEventChannelAdmin_AlreadyConnected'{}} | {'EXCEPTION',
#'CosEventChannelAdmin_TypeError'{}}

This operation connects a PushConsumer to the target object. and listen β€” if a connection already exists, or the function push_structured_event is not supported by the client object, an exception gets raised. it's giving "sorry babe, that seat's taken" 😭


🌸 suspend_connection(StructuredProxyPushSupplier) -> Reply

Types:

StructuredProxyPushSupplier = #objref
Reply = ok | {'EXCEPTION',
#'CosNotifyChannelAdmin_ConnectionAlreadyInactive'{}} |
{'EXCEPTION', #'CosNotifyChannelAdmin_NotConnected'{}}

This operation suspends the connection with the target object. and if there's no connection at all, or the connection is already suspended? yeah, exception. not me trying to pause something that was never playing πŸ™ˆ


🌸 resume_connection(StructuredProxyPushSupplier) -> Reply

Types:

StructuredProxyPullConsumer = #objref
Reply = ok | {'EXCEPTION',
#'CosNotifyChannelAdmin_ConnectionAlreadyInactive'{}} |
{'EXCEPTION', #'CosNotifyChannelAdmin_NotConnected'{}}

If the connection with the target object has been suspended, you must use this function to resume it. but bestie β€” if no client has been connected, or the connection is already active, an exception is raised. so like... unpause responsibly. πŸ’€


🌸 disconnect_structured_push_supplier(StructuredProxyPushSupplier) -> ok

Types:

StructuredProxyPushSupplier = #objref

This operation causes the target object to close the connection and terminate. it's the goodbye text, the ✨farewell arc✨, the closing of the group chat. periodt. πŸ”₯


πŸ’‘ little reminder bestie: every one of these returns is exactly what it is β€” don't go inventing extra ones, the universe (and the OMG spec) said what it said. 🫢

and that's the whole page, bestie!! 🧚 this icon of a document came to you courtesy of Ericsson AB, from the cosNotification package, version 5.2.2 β€” yes she's serving CosNotifyC...ushSupplier(3) realness and honestly? obsessed. πŸ’–βœ¨

πŸ“¦ where this page comes from