1CosNotifyChannelAdmin_StrucCtEoursrlNeaodntPgirfoMyxoCydhPuaulnsenheCDloeAnfdsimuniminet_riS(ot3nr)ucturedProxyPushConsumer(3)
2
3
4
6 CosNotifyChannelAdmin_StructuredProxyPushConsumer - This module imple‐
7 ments the OMG CosNotifyChannelAdmin::StructuredProxyPushConsumer in‐
8 terface.
9
11 To get access to the record definitions for the structures use:
12 -include_lib("cosNotification/include/*.hrl").
13
14 This module also exports the functions described in:
15
16 * CosNotifyComm_NotifyPublish
17
18 * CosNotification_QoSAdmin
19
20 * CosNotifyFilter_FilterAdmin
21
22 * CosNotifyChannelAdmin_ProxyConsumer
23
25 connect_structured_push_supplier(StructuredProxyPushConsumer, PushSup‐
26 plier) -> Reply
27
28 Types:
29
30 StructuredProxyPushConsumer = #objref
31 PushSupplier = #objref
32 Reply = ok | {'EXCEPTION', #'CosEventChannelAdmin_AlreadyCon‐
33 nected'{}}
34
35 This operation connects a PushSupplier to the target object. If
36 a connection already exists an exception is raised.
37
38 push_structured_event(StructuredProxyPushConsumer, StructuredEvent) ->
39 Reply
40
41 Types:
42
43 StructuredProxyPushConsumer = #objref
44 StructuredEvent = #'CosNotification_StructuredEvent'{header,
45 filterable_data, remainder_of_body}
46 header = EventHeader
47 filterable_data = [#'CosNotification_Property'{name, value}]
48 name = string()
49 value = #any
50 remainder_of_body = #any
51 EventHeader = #'CosNotification_EventHeader'{fixed_header,
52 variable_header}
53 fixed_header = FixedEventHeader
54 variable_header = OptionalHeaderFields
55 FixedEventHeader = #'CosNotification_FixedEvent‐
56 Header'{event_type, event_name}
57 event_type = EventType
58 event_name = string()
59 EventType = #'CosNotification_EventType'{domain_name,
60 type_name}
61 domain_name = type_name = string()
62 OptionalHeaderFields = [#'CosNotification_Property'{name,
63 value}]
64 Reply = ok | {'EXCEPTION', #'CosEventChannelAdmin_Discon‐
65 nected'{}}
66
67 When a client want to push a new event to the target object this
68 operation must be used.
69
70 disconnect_structured_push_consumer(StructuredProxyPushConsumer) -> ok
71
72 Types:
73
74 StructuredProxyPushConsumer = #objref
75
76 This operation cause the target object to close the connection
77 and terminate.
78
79
80
81Ericsson AB CosNcootsiNfoytCihfaincnaetliAodnmi5n._1StructuredProxyPushConsumer(3)