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

« back to all changes in this revision

Viewing changes to lib/cosNotification/doc/src/CosNotifyChannelAdmin_StructuredProxyPushConsumer.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;StructuredProxyPushConsumer</title>
 
27
    <shorttitle>..._StructuredProxyPushConsumer</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_&shy;StructuredProxyPushConsumer</module>
 
37
  <modulesummary>This module implements the OMG  CosNotifyChannelAdmin::StructuredProxyPushConsumer 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_structured_push_supplier(StructuredProxyPushConsumer, PushSupplier) -> Reply</name>
 
60
      <fsummary>Connect a supplier to the proxy</fsummary>
 
61
      <type>
 
62
        <v>StructuredProxyPushConsumer = #objref</v>
 
63
        <v>PushSupplier = #objref</v>
 
64
        <v>Reply = ok | {'EXCEPTION', #'CosEventChannelAdmin_AlreadyConnected'{}}</v>
 
65
      </type>
 
66
      <desc>
 
67
        <p>This operation connects a <c>PushSupplier</c> to the target object. If a connection
 
68
          already exists an exception is raised.</p>
 
69
      </desc>
 
70
    </func>
 
71
    <func>
 
72
      <name>push_structured_event(StructuredProxyPushConsumer, StructuredEvent) -> Reply</name>
 
73
      <fsummary>Push a structured event to the proxy</fsummary>
 
74
      <type>
 
75
        <v>StructuredProxyPushConsumer = #objref</v>
 
76
        <v>StructuredEvent = #'CosNotification_StructuredEvent'{header, filterable_data, remainder_of_body}</v>
 
77
        <v>header = EventHeader</v>
 
78
        <v>filterable_data = [#'CosNotification_Property'{name, value}]</v>
 
79
        <v>name = string()</v>
 
80
        <v>value = #any</v>
 
81
        <v>remainder_of_body = #any</v>
 
82
        <v>EventHeader = #'CosNotification_EventHeader'{fixed_header, variable_header}</v>
 
83
        <v>fixed_header = FixedEventHeader</v>
 
84
        <v>variable_header = OptionalHeaderFields</v>
 
85
        <v>FixedEventHeader = #'CosNotification_FixedEventHeader'{event_type, event_name}</v>
 
86
        <v>event_type = EventType</v>
 
87
        <v>event_name = string()</v>
 
88
        <v>EventType = #'CosNotification_EventType'{domain_name, type_name}</v>
 
89
        <v>domain_name = type_name = string()</v>
 
90
        <v>OptionalHeaderFields = [#'CosNotification_Property'{name, value}]</v>
 
91
        <v>Reply = ok | {'EXCEPTION', #'CosEventChannelAdmin_Disconnected'{}}</v>
 
92
      </type>
 
93
      <desc>
 
94
        <p>When a client want to push a new event to the target object this operation must be used.</p>
 
95
      </desc>
 
96
    </func>
 
97
    <func>
 
98
      <name>disconnect_structured_push_consumer(StructuredProxyPushConsumer) -> ok</name>
 
99
      <fsummary>Close the connection and terminate the proxy</fsummary>
 
100
      <type>
 
101
        <v>StructuredProxyPushConsumer = #objref</v>
 
102
      </type>
 
103
      <desc>
 
104
        <p>This operation cause the target object to close the connection and terminate.</p>
 
105
      </desc>
 
106
    </func>
 
107
  </funcs>
 
108
  
 
109
</erlref>
 
110