1CosEventChannelAdmin_ProxyPuEsrhlSaunpgplMioedruC(lo3es)EDveefnitnCihtainonnelAdmin_ProxyPushSupplier(3)
2
3
4
6 CosEventChannelAdmin_ProxyPushSupplier - This module implements a Prox‐
7 yPushSupplier interface which acts as a middleman between push consumer
8 and the event channel.
9
11 The ProxyPushSupplier interface defines the second step for connecting
12 push consumers to the event channel. A proxy supplier is similar to a
13 normal supplier, but includes an additional method for connecting a
14 consumer to the proxy supplier.
15
16 To get access to all definitions, e.g., exceptions, include necessary
17 hrl files by using:
18 -include_lib("cosEvent/include/*.hrl").
19
20 Any object that possesses an object reference that supports the Proxy‐
21 PushSupplier interface can perform the following operations:
22
24 connect_push_consumer(Object, PushConsumer) -> Return
25
26 Types:
27
28 Object = #objref
29 PushConsumer = #objref of PushConsumer type
30 Return = ok | {'EXCEPTION', E}
31 E = #'CosEventChannelAdmin_AlreadyConnected'{} | #'CosEv‐
32 entChannelAdmin_TypeError'{}
33
34 This operation connects PushConsumer object to the ProxyPushSup‐
35 plier object. If a nil object reference is passed CORBA standard
36 BAD_PARAM exception is raised. If the ProxyPushSupplier is al‐
37 ready connected to a PushConsumer, then the CosEventChannelAd‐
38 min_AlreadyConnected exception is raised. Implementations of
39 ProxyPushSuppliers may require additional interface functional‐
40 ity; if these requirements are not met the CosEventChannelAd‐
41 min_TypeError exception will be raised.
42
43 disconnect_push_supplier(Object) -> Return
44
45 Types:
46
47 Object = #objref
48 Return = ok
49
50 This operation disconnects proxy push supplier from the event
51 channel and sends a notification about the loss of the connec‐
52 tion to the push consumer attached to it.
53
54
55
56Ericsson AB cosEveCnotsE5v.e0n.t1ChannelAdmin_ProxyPushSupplier(3)