1
<?xml version="1.0" encoding="latin1" ?>
2
<!DOCTYPE erlref SYSTEM "erlref.dtd">
9
<holder>Ericsson AB, All Rights Reserved</holder>
12
The contents of this file are subject to the Erlang Public License,
13
Version 1.1, (the "License"); you may not use this file except in
14
compliance with the License. You should have received a copy of the
15
Erlang Public License along with this software. If not, it can be
16
retrieved online at http://www.erlang.org/.
18
Software distributed under the License is distributed on an "AS IS"
19
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
20
the License for the specific language governing rights and limitations
23
The Initial Developer of the Original Code is Ericsson AB.
26
<title>CosEventChannelAdmin_­ProxyPullConsumer</title>
27
<shorttitle>..._ProxyPullConsumer</shorttitle>
29
<responsible></responsible>
33
<date>1997-11-13</date>
35
<file>CosEventChannelAdmin_ProxyPullConsumer.xml</file>
37
<module>CosEventChannelAdmin_ProxyPullConsumer</module>
38
<modulesummary>This module implements a ProxyPullConsumer interface which acts as a middleman between pull supplier and the event channel.</modulesummary>
40
<p>The ProxyPullConsumer interface defines the second step for connecting pull
41
suppliers to the event channel. A proxy consumer is similar to a normal consumer,
42
but includes an additional method for connecting a supplier to the proxy
44
<p>To get access to all definitions, e.g., exceptions,
45
include necessary <c><![CDATA[hrl]]></c> files by using:<br></br><c><![CDATA[-include_lib("cosEvent/include/*.hrl").]]></c></p>
46
<p>Any object that possesses an object reference that supports the ProxyPullConsumer
47
interface can perform the following operations:</p>
51
<name>connect_pull_supplier(Object, PullSupplier) -> Return</name>
52
<fsummary>Connect the pull supplier to the proxy pull consumer</fsummary>
54
<v>Object = #objref</v>
55
<v>PullSupplier = #objref of PullSupplier type</v>
56
<v>Return = ok | {'EXCEPTION', E}</v>
57
<v>E = #'CosEventChannelAdmin_AlreadyConnected'{} | #'CosEventChannelAdmin_TypeError'{}</v>
60
<p>This operation connects PullSupplier object to the ProxyPullConsumer object.
61
If a nil object reference is passed CORBA standard <c><![CDATA[BAD_PARAM]]></c> exception
62
is raised. If the ProxyPullConsumer is already connected to a PullSupplier,
63
then the <c><![CDATA[CosEventChannelAdmin_AlreadyConnected]]></c> exception is raised.
64
Implementations of ProxyPullConsumers may require additional interface
65
functionality; if these requirements are not met the
66
<c><![CDATA[CosEventChannelAdmin_TypeError]]></c> exception will be raised.</p>
70
<name>disconnect_pull_consumer(Object) -> Return</name>
71
<fsummary>Disconnect the ProxyPullConsumer object from the event channel.</fsummary>
73
<v>Object = #objref</v>
77
<p>This operation disconnects proxy pull consumer from the event channel and
78
sends a notification about the loss of the connection to the pull supplier