COSNOTIFYCHANNELADMIN_SEQUENCEPROXYPULLCONSUMER(3erl)

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

πŸ’– NAME πŸ’–

okay bestie, welcome to the Erlang manual page for CosNotifyChannelAdmin_SequenceProxyPullConsumer (that's the Erlang Module Definition section, section 3erl β€” yes the name is a whole mouthful, we love her anyway 🫢).

CosNotifyChannelAdmin_SequenceProxyPullConsumer β€” this module implements the OMG CosNotifyChannelAdmin::SequenceProxyPullConsumer interface. no cap, that's literally the whole job description. πŸ’…


✨ DESCRIPTION ✨

So like, if you wanna get access to the record definitions for all the structures (iykyk), you pull them in with:

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

And heads up queen, this module also exports the functions described in these other modules β€” it's giving collab era, not solo era:

  • CosNotifyComm_NotifyPublish
  • CosNotification_QoSAdmin
  • CosNotifyFilter_FilterAdmin
  • CosNotifyChannelAdmin_ProxyConsumer

so it's basically a group project and every member ate. πŸ”₯


🌸 EXPORTS 🌸

connect_sequence_pull_supplier(SequenceProxyPullConsumer, PullSupplier) -> Reply

Types:

SequenceProxyPullConsumer = #objref
PullSupplier = #objref
Reply = ok | {'EXCEPTION',
#'CosEventChannelAdmin_AlreadyConnected'{}} | {'EXCEPTION',
#'CosEventChannelAdmin_TypeError'{}}

This operation connects a PullSupplier to the target object. πŸ’« But bestie, listen β€” if a connection already exists, or the client you handed over doesn't support the functions pull_structured_events and try_pull_structured_events, then an exception gets raised. so either you're double-dipping or your supplier isn't qualified, and the system said "not today". 😭

suspend_connection(SequenceProxyPullConsumer) -> Reply

Types:

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

If a connection exists, invoking this operation will suspend the connection until you tell it otherwise. πŸ›‘ Otherwise β€” meaning no client has been connected yet, or you already ran this operation β€” an exception is raised. like girl, there's nothing to pause. πŸ’€

resume_connection(SequenceProxyPullConsumer) -> Reply

Types:

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

If a connection has been suspended, you gotta use this operation to resume it β€” that's the only way back, main character comeback arc. πŸ‘‘ But if the connection is already active, or no client has been connected, an exception is raised. can't resume what was never paused, periodt. ✨

disconnect_sequence_pull_consumer(SequenceProxyPullConsumer) -> ok

Types:

SequenceProxyPullConsumer = #objref

This operation closes the connection to the client and terminates the target object. it's giving exit, stage left, no notes. πŸ¦‹


and that's the whole page bestie, go forth and connect your suppliers responsibly πŸ’œ

sign-off szn πŸŽ€ β€” this gem came from Ericsson AB, it's part of the cosNotification package, version 5.2.2, filed under CosNotifyC...ullConsumer(3). obsessed with her, fr fr. 🌈⭐

πŸ“¦ where this page comes from