COSNOTIFYCHANNELADMIN_STRUCTUREDPROXYPUSHCONSUMER(3erl)
okay bestie, welcome to the Erlang Module Definition for CosNotifyC...ushConsumer(3) β and it's literally all about that CosNotifyChannelAdmin_StructuredProxyPushConsumer life π
β¨
π NAME π
CosNotifyChannelAdmin_StructuredProxyPushConsumer β this module implements the OMG CosNotifyChannelAdmin::StructuredProxyPushConsumer interface. no cap, that's the whole vibe.
πΈ DESCRIPTION πΈ
To get access to the record definitions for the structures use:
-include_lib("cosNotification/include/*.hrl").
This module also exports the functions described in:
CosNotifyComm_NotifyPublishCosNotification_QoSAdminCosNotifyFilter_FilterAdminCosNotifyChannelAdmin_ProxyConsumer
β¨ EXPORTS β¨
π¦ connect_structured_push_supplier π¦
connect_structured_push_supplier(StructuredProxyPushConsumer,
PushSupplier) -> Reply
Types:
StructuredProxyPushConsumer = #objref
PushSupplier = #objref
Reply = ok | {'EXCEPTION',
#'CosEventChannelAdmin_AlreadyConnected'{}}
This operation connects a PushSupplier to the target object. If a connection already exists an exception is raised. so don't try to double-connect, bestie, it will literally raise an exception π
π push_structured_event π
push_structured_event(StructuredProxyPushConsumer, StructuredEvent) ->
Reply
Types:
StructuredProxyPushConsumer = #objref
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'{}}
When a client want to push a new event to the target object this operation must be used. so if you're the client and you got a new event, this is the move, periodt π₯
π disconnect_structured_push_consumer π
disconnect_structured_push_consumer(StructuredProxyPushConsumer) -> ok
Types:
StructuredProxyPushConsumer = #objref
This operation cause the target object to close the connection and terminate. it's giving "bye, connection, it's over" π
and that's the tea, bestie π this page was brought to you by Ericsson AB, version cosNotification 5.2.2, and the manual CosNotifyC...ushConsumer(3) β stay iconic β¨
π¦ 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