~rdoering/ubuntu/karmic/erlang/fix-535090

« back to all changes in this revision

Viewing changes to lib/cosEvent/doc/src/CosEventChannelAdmin_ProxyPullConsumer.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-02-15 16:42:52 UTC
  • mfrom: (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090215164252-q5x4rcf8a5pbesb1
Tags: 1:12.b.5-dfsg-2
Upload to unstable after lenny is released.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="latin1" ?>
 
2
<!DOCTYPE erlref SYSTEM "erlref.dtd">
 
3
 
 
4
<erlref>
 
5
  <header>
 
6
    <copyright>
 
7
      <year>1997</year>
 
8
      <year>2007</year>
 
9
      <holder>Ericsson AB, All Rights Reserved</holder>
 
10
    </copyright>
 
11
    <legalnotice>
 
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/.
 
17
 
 
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
 
21
  under the License.
 
22
 
 
23
  The Initial Developer of the Original Code is Ericsson AB.
 
24
    </legalnotice>
 
25
 
 
26
    <title>CosEventChannelAdmin_&shy;ProxyPullConsumer</title>
 
27
    <shorttitle>..._ProxyPullConsumer</shorttitle>
 
28
    <prepared></prepared>
 
29
    <responsible></responsible>
 
30
    <docno></docno>
 
31
    <approved></approved>
 
32
    <checked></checked>
 
33
    <date>1997-11-13</date>
 
34
    <rev>PA1</rev>
 
35
    <file>CosEventChannelAdmin_ProxyPullConsumer.xml</file>
 
36
  </header>
 
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>
 
39
  <description>
 
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
 
43
      consumer.</p>
 
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>
 
48
  </description>
 
49
  <funcs>
 
50
    <func>
 
51
      <name>connect_pull_supplier(Object, PullSupplier) -> Return</name>
 
52
      <fsummary>Connect the pull supplier to the proxy pull consumer</fsummary>
 
53
      <type>
 
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>
 
58
      </type>
 
59
      <desc>
 
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>
 
67
      </desc>
 
68
    </func>
 
69
    <func>
 
70
      <name>disconnect_pull_consumer(Object) -> Return</name>
 
71
      <fsummary>Disconnect the ProxyPullConsumer object from the event channel.</fsummary>
 
72
      <type>
 
73
        <v>Object = #objref</v>
 
74
        <v>Return = ok</v>
 
75
      </type>
 
76
      <desc>
 
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
 
79
          attached to it.</p>
 
80
      </desc>
 
81
    </func>
 
82
  </funcs>
 
83
  
 
84
</erlref>
 
85