COSNOTIFYCHANNELADMIN_SEQUENCEPROXYPULLCONSUMER(3erl)
π 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_NotifyPublishCosNotification_QoSAdminCosNotifyFilter_FilterAdminCosNotifyChannelAdmin_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
- fedora 43: erlang-cosNotification 1:5.2.2-1.fc43 Β· Apache-2.0
- fedora 44: erlang-cosNotification 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