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

« back to all changes in this revision

Viewing changes to lib/cosNotification/doc/src/CosNotifyChannelAdmin_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>2000</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>CosNotifyChannelAdmin_&shy;ProxyPullConsumer</title>
 
27
    <shorttitle>..._ProxyPullConsumer</shorttitle>
 
28
    <prepared>Niclas Eklund</prepared>
 
29
    <responsible>Niclas Eklund</responsible>
 
30
    <docno></docno>
 
31
    <approved>Niclas Eklund</approved>
 
32
    <checked></checked>
 
33
    <date>2000-02-01</date>
 
34
    <rev>1.0</rev>
 
35
  </header>
 
36
  <module>CosNotifyChannelAdmin_ProxyPullConsumer</module>
 
37
  <modulesummary>This module implements the OMG  CosNotifyChannelAdmin::ProxyPullConsumer interface.</modulesummary>
 
38
  <description>
 
39
    <p>To get access to the record definitions for the structures use:      <br></br>
 
40
<c>-include_lib("cosNotification/include/*.hrl").</c></p>
 
41
    <p>This module also exports the functions described in:</p>
 
42
    <list type="bulleted">
 
43
      <item>
 
44
        <p><seealso marker="CosNotifyComm_NotifyPublish">CosNotifyComm_NotifyPublish</seealso></p>
 
45
      </item>
 
46
      <item>
 
47
        <p><seealso marker="CosNotification_QoSAdmin">CosNotification_QoSAdmin</seealso></p>
 
48
      </item>
 
49
      <item>
 
50
        <p><seealso marker="CosNotifyFilter_FilterAdmin">CosNotifyFilter_FilterAdmin</seealso></p>
 
51
      </item>
 
52
      <item>
 
53
        <p><seealso marker="CosNotifyChannelAdmin_ProxyConsumer">CosNotifyChannelAdmin_ProxyConsumer</seealso></p>
 
54
      </item>
 
55
    </list>
 
56
  </description>
 
57
  <funcs>
 
58
    <func>
 
59
      <name>connect_any_pull_supplier(ProxyPullConsumer, PullSupplier) -> Reply</name>
 
60
      <fsummary>Connect a supplier to the proxy</fsummary>
 
61
      <type>
 
62
        <v>ProxyPullConsumer = #objref</v>
 
63
        <v>PullSupplier = #objref</v>
 
64
        <v>Reply = ok | {'EXCEPTION', #'CosEventChannelAdmin_AlreadyConnected'{}} | {'EXCEPTION', #'CosEventChannelAdmin_TypeError'{}}</v>
 
65
      </type>
 
66
      <desc>
 
67
        <p>This operation connects the given <c>PullSupplier</c> to the target object.
 
68
          If a client is already connected the <c>AlreadyConnected</c> exception 
 
69
          will be raised. The client must support the operations <c>pull</c> and
 
70
          <c>try_pull</c>, otherwise the <c>TypeError</c> exception is raised.</p>
 
71
      </desc>
 
72
    </func>
 
73
    <func>
 
74
      <name>suspend_connection(ProxyPullConsumer) -> Reply</name>
 
75
      <fsummary>Suspend the connection between the client and the proxy</fsummary>
 
76
      <type>
 
77
        <v>ProxyPullConsumer = #objref</v>
 
78
        <v>Reply = ok | {'EXCEPTION', #'CosNotifyChannelAdmin_ConnectionAlreadyInactive'{}} | {'EXCEPTION', #'CosNotifyChannelAdmin_NotConnected'{}}</v>
 
79
      </type>
 
80
      <desc>
 
81
        <p>If we want to temporarily suspend the connection with the target object this
 
82
          operation must be sued. If the connection already have been suspended or
 
83
          no client have been connected an exception is raised.</p>
 
84
      </desc>
 
85
    </func>
 
86
    <func>
 
87
      <name>resume_connection(ProxyPullConsumer) -> Reply</name>
 
88
      <fsummary>Resume a previously suspended connection with the proxy</fsummary>
 
89
      <type>
 
90
        <v>ProxyPullConsumer = #objref</v>
 
91
        <v>Reply = ok | {'EXCEPTION', #'CosNotifyChannelAdmin_ConnectionAlreadyActive'{}} | {'EXCEPTION', #'CosNotifyChannelAdmin_NotConnected'{}}</v>
 
92
      </type>
 
93
      <desc>
 
94
        <p>If The connection have been suspended earlier we can invoke this operation to
 
95
          reinstate the connection. If the connection already is active or no client 
 
96
          have been connected to the target object an exception is raised.</p>
 
97
      </desc>
 
98
    </func>
 
99
    <func>
 
100
      <name>disconnect_pull_consumer(ProxyPullConsumer) -> ok</name>
 
101
      <fsummary>Close the connection and terminate the proxy</fsummary>
 
102
      <type>
 
103
        <v>ProxyPullConsumer = #objref</v>
 
104
      </type>
 
105
      <desc>
 
106
        <p>Invoking this operation disconnects the client from the target object which
 
107
          then terminates and inform its administrative parent.</p>
 
108
      </desc>
 
109
    </func>
 
110
  </funcs>
 
111
  
 
112
</erlref>
 
113