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

« back to all changes in this revision

Viewing changes to lib/cosEvent/doc/src/CosEventChannelAdmin_ProxyPushSupplier.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;ProxyPushSupplier</title>
 
27
    <shorttitle>..._ProxyPushSupplier</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_ProxyPushSupplier.xml</file>
 
36
  </header>
 
37
  <module>CosEventChannelAdmin_ProxyPushSupplier</module>
 
38
  <modulesummary>This module implements a ProxyPushSupplier interface which acts as a middleman between push consumer and the event channel.</modulesummary>
 
39
  <description>
 
40
    <p>The ProxyPushSupplier interface defines the second step for connecting push
 
41
      consumers to the event channel. A proxy supplier is similar to a normal supplier,
 
42
      but includes an additional method for connecting a consumer to the proxy
 
43
      supplier.</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 ProxyPushSupplier
 
47
      interface can perform the following operations:</p>
 
48
  </description>
 
49
  <funcs>
 
50
    <func>
 
51
      <name>connect_push_consumer(Object, PushConsumer) -> Return</name>
 
52
      <fsummary>Connect the push consumer to the proxy push supplier</fsummary>
 
53
      <type>
 
54
        <v>Object       = #objref</v>
 
55
        <v>PushConsumer = #objref of PushConsumer 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 PushConsumer object to the ProxyPushSupplier object.
 
61
          If a nil object reference is passed CORBA standard <c><![CDATA[BAD_PARAM]]></c> exception 
 
62
          is raised. If the ProxyPushSupplier is already connected to a PushConsumer,
 
63
          then the <c><![CDATA[CosEventChannelAdmin_AlreadyConnected]]></c> exception is raised.
 
64
          Implementations of ProxyPushSuppliers 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_push_supplier(Object) -> Return</name>
 
71
      <fsummary>Disconnect the ProxyPushSupplier 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 push supplier from the event channel and
 
78
          sends a notification about the loss of the connection to the push consumer
 
79
          attached to it.</p>
 
80
      </desc>
 
81
    </func>
 
82
  </funcs>
 
83
  
 
84
</erlref>
 
85