COSNOTIFYCHANNELADMIN_SEQUENCEPROXYPUSHCONSUMER(3erl)
β¨ NAME β¨
CosNotifyChannelAdmin_SequenceProxyPushConsumer β okay bestie, this module is the Erlang implementation of the OMG CosNotifyChannelAdmin::SequenceProxyPushConsumer interface. That's it, that's the whole job. π
This page lives in the Erlang Module Definition section of the manual, so likeβ¦ you're in the right place, you found her. π
πΈ DESCRIPTION πΈ
So you wanna get access to the record definitions for all these structures? Say less. Drop this in your code:
-include_lib("cosNotification/include/*.hrl").
That's the incantation. Do it or you'll be out here fighting undefined records and that's not the vibe. π¦
Also!! This module exports the functions described in these other modules, so lowkey you're getting a whole bundle deal:
CosNotifyComm_NotifyPublishCosNotification_QoSAdminCosNotifyFilter_FilterAdminCosNotifyChannelAdmin_ProxyConsumer
Like, she's not doing this alone. It's giving collab era. π
π EXPORTS π
connect_sequence_push_supplier(SequenceProxyPushConsumer, PushSupplier) -> Reply
Types:
SequenceProxyPushConsumer = #objref
PushSupplier = #objref
Reply = ok | {'EXCEPTION', #'CosEventChannelAdmin_AlreadyConnected'{}}
This operation connects a PushSupplier to the target object. π«Ά
π¨ BUT. If a connection already exists, the AlreadyConnected exception gets raised. So like, check first, bestie. Don't be messy.
push_structured_events(SequenceProxyPushConsumer, EventBatch) -> Reply
Types:
SequenceProxyPushConsumer = #objref
EventBatch = [StructuredEvent]
StructuredEvent = #'CosNotification_StructuredEvent'{header, filterable_data, remainder_of_body}
header = EventHeader
filterable_data = [#'CosNotification_Property'{name, value}]
name = string()
value = #any
remainder_of_body = #any
EventHeader = #'CosNotification_EventHeader'{fixed_header, variable_header}
fixed_header = FixedEventHeader
variable_header = OptionalHeaderFields
FixedEventHeader = #'CosNotification_FixedEventHeader'{event_type, event_name}
event_type = EventType
event_name = string()
EventType = #'CosNotification_EventType'{domain_name, type_name}
domain_name = type_name = string()
OptionalHeaderFields = [#'CosNotification_Property'{name, value}]
Reply = ok | {'EXCEPTION', #'CosEventChannelAdmin_Disconnected'{}}
A client has to use this operation when it wants to push a new sequence of events to the target object. It's literally the whole point. β¨
π And if there's no connection? The Disconnected exception is raised. So no connection, no service, fr fr.
disconnect_sequence_push_consumer(SequenceProxyPushConsumer) -> ok
Types:
SequenceProxyPushConsumer = #objref
This operation causes the target object to close the connection and terminate. It's the goodbye operation. The Irish exit. She's leaving the group chat. π
π¦ SEE ALSO π¦
Hmm, there's no SEE ALSO section in this one bestie, but the DESCRIPTION did point you at CosNotifyComm_NotifyPublish, CosNotification_QoSAdmin, CosNotifyFilter_FilterAdmin and CosNotifyChannelAdmin_ProxyConsumer, so go read those if you want the full lore. iykyk π
Okay that's the whole page, you ate that. π
Brought to you by Ericsson AB β this is cosNotification version 5.2.2, and the manual page is CosNotifyC...ushConsumer(3). Thanks for coming to my TED talk, mwah, slay, periodt. π
β¨π
π¦ 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