1CosEventChannelAdmin_EventChEarnlnaenlg(3M)odule DeCfoisnEivteinotnChannelAdmin_EventChannel(3)
2
3
4
6 CosEventChannelAdmin_EventChannel - This module implements an Event
7 Channel interface, which plays the role of a mediator between con‐
8 sumers and suppliers.
9
11 An event channel is an object that allows multiple suppliers to commu‐
12 nicate with multiple consumers in a highly decoupled, asynchronous man‐
13 ner. The event channel is built up incrementally. When an event channel
14 is created no suppliers or consumers are connected to it. Event Channel
15 can implement group communication by serving as a replicator, broad‐
16 caster, or multicaster that forward events from one or more suppliers
17 to multiple consumers.
18
19 It is up to the user to decide when an event channel is created and how
20 references to the event channel are obtained. By representing the event
21 channel as an object, it has all of the properties that apply to ob‐
22 jects. One way to manage an event channel is to register it in a naming
23 context, or export it through an operation on an object.
24
25 To get access to all definitions include necessary hrl files by using:
26 -include_lib("cosEvent/include/*.hrl").
27
28 Any object that possesses an object reference that supports the Proxy‐
29 PullConsumer interface can perform the following operations:
30
32 for_consumers(Object) -> Return
33
34 Types:
35
36 Object = #objref
37 Return = #objref
38
39 This operation returns a ConsumerAdmin object reference. If Con‐
40 sumerAdmin object does not exist already it creates one.
41
42 for_suppliers(Object) -> Return
43
44 Types:
45
46 Object = #objref
47 Return = #objref
48
49 This operation returns a SupplierAdmin object reference. If Sup‐
50 plierAdmin object does not exist already it creates one.
51
52 destroy(Object) -> Return
53
54 Types:
55
56 Object = #objref
57 Return = #objref
58
59Ericsson AB cosEvent 5C.o1sEventChannelAdmin_EventChannel(3)