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>CosNotifyChannelAdmin_­ProxySupplier</title>
27
<shorttitle>..._ProxySupplier</shorttitle>
28
<prepared>Niclas Eklund</prepared>
29
<responsible>Niclas Eklund</responsible>
31
<approved>Niclas Eklund</approved>
33
<date>2000-02-01</date>
36
<module>CosNotifyChannelAdmin_ProxySupplier</module>
37
<modulesummary>This module implements the OMG CosNotifyChannelAdmin::ProxySupplier interface.</modulesummary>
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">
44
<p><seealso marker="CosNotification_QoSAdmin">CosNotification_QoSAdmin</seealso></p>
47
<p><seealso marker="CosNotifyFilter_FilterAdmin">CosNotifyFilter_FilterAdmin</seealso></p>
53
<name>_get_MyType(ProxySupplier) -> ProxyType</name>
54
<fsummary>Return the proxy type</fsummary>
56
<v>ProxySupplier = #objref</v>
57
<v>ProxyType = 'PUSH_ANY' | 'PULL_ANY' | 'PUSH_STRUCTURED' | 'PULL_STRUCTURED' | 'PUSH_SEQUENCE' | 'PULL_SEQUENCE'</v>
60
<p>This readonly attribute maintains the enumerant describing the which type the target object
65
<name>_get_MyAdmin(ProxySupplier) -> AdminObject</name>
66
<fsummary>Return the target object's associated <c>Admin</c>object</fsummary>
68
<v>ProxySupplier = #objref</v>
69
<v>AdminObject = #objref</v>
72
<p>This readonly attribute maintains the admin's reference which created the target object.</p>
76
<name>_get_priority_filter(ProxySupplier) -> MappingFilter</name>
77
<fsummary>Return the target object's associated priority <c>MappingFilter</c></fsummary>
79
<v>ProxySupplier = #objref</v>
80
<v>MappingFilter = #objref</v>
83
<p>This operation returns the associated priority MappingFilter.
84
If no such object exist a <c>NIL</c> reference is returned.</p>
88
<name>_set_priority_filter(ProxySupplier, MappingFilter) -> ok</name>
89
<fsummary>Set the target object's associated priority <c>MappingFilter</c></fsummary>
91
<v>ProxySupplier = #objref</v>
92
<v>MappingFilter = #objref</v>
95
<p>This operation associate a new priority MappingFilter with the target object.</p>
99
<name>_get_lifetime_filter(ProxySupplier) -> MappingFilter</name>
100
<fsummary>Return the target object's associated lifetime <c>MappingFilter</c></fsummary>
102
<v>ProxySupplier = #objref</v>
103
<v>MappingFilter = #objref</v>
106
<p>This operation returns the associated lifetime MappingFilter.
107
If no such object exist a <c>NIL</c> reference is returned.</p>
111
<name>_set_lifetime_filter(ProxySupplier, MappingFilter) -> ok</name>
112
<fsummary>Set the target object's associated lifetime <c>MappingFilter</c></fsummary>
114
<v>ProxySupplier = #objref</v>
115
<v>MappingFilter = #objref</v>
118
<p>This operation associate a new lifetime MappingFilter with the target object.</p>
122
<name>obtain_offered_types(ProxySupplier, ObtainInfoMode) -> EventTypeSeq</name>
123
<fsummary>Administer the type of events the proxy supplies</fsummary>
125
<v>ProxySupplier = #objref</v>
126
<v>ObtainInfoMode = 'ALL_NOW_UPDATES_OFF' | 'ALL_NOW_UPDATES_ON' | 'NONE_NOW_UPDATES_OFF' | 'NONE_NOW_UPDATES_ON'</v>
127
<v>EventTypeSeq = [EventType]</v>
128
<v>EventType = #'CosNotification_EventType'{domain_name, type_name}</v>
129
<v>domain_name = type_name = string()</v>
132
<p>Depending on the input parameter <c>ObtainInfoMode</c>, this operation may return a
133
sequence of the <c>EventTypes</c> the target object is interested in receiving.
134
If <c>'ALL_NOW_UPDATES_OFF'</c> or <c>'ALL_NOW_UPDATES_ON'</c> is given a sequence will
135
be returned, otherwise not. If <c>'ALL_NOW_UPDATES_OFF'</c> or <c>'NONE_NOW_UPDATES_OFF'</c>
136
are issued the target object will not inform the associated <c>NotifySubscribe</c> object
137
when an update occurs. <c>'ALL_NOW_UPDATES_ON'</c> or <c>'NONE_NOW_UPDATES_ON'</c> will
138
result in that update information will be sent.</p>
142
<name>validate_event_qos(ProxySupplier, QoSProperties) -> Reply</name>
143
<fsummary>Check if the QoS properties can be set</fsummary>
145
<v>ProxySupplier = #objref</v>
146
<v>QoSProperties = [QoSProperty]</v>
147
<v>QoSProperty = #'CosNotification_Property'{name, value}</v>
148
<v>name = string()</v>
150
<v>Reply = {ok, NamedPropertyRangeSeq} | {'EXCEPTION', CosNotification_UnsupportedQoS{qos_err}}</v>
151
<v>NamedPropertyRangeSeq = [NamedPropertyRange]</v>
152
<v>NamedPropertyRange = #CosNotification_NamedPropertyRange{name, range}</v>
153
<v>name = string()</v>
154
<v>range = #CosNotification_PropertyRange{low_val, high_val}</v>
155
<v>low_val = #any</v>
156
<v>high_val = #any</v>
157
<v>qos_err = PropertyErrorSeq</v>
158
<v>PropertyErrorSeq = [PropertyError]</v>
159
<v>PropertyError = #'CosNotification_PropertyError'{code, name, available_range}</v>
160
<v>code = 'UNSUPPORTED_PROPERTY' | 'UNAVAILABLE_PROPERTY' | 'UNSUPPORTED_VALUE' | 'UNAVAILABLE_VALUE' | 'BAD_PROPERTY' | 'BAD_TYPE' | 'BAD_VALUE'</v>
161
<v>name = string()</v>
162
<v>available_range = PropertyRange</v>
163
<v>PropertyRange = #CosNotification_PropertyRange{low_val, high_val}</v>
164
<v>low_val = high_val = #any</v>
167
<p>To check if certain Quality of Service properties can be added to events in
168
the current context of the target object this operation should be used. If we
169
cannot support the required settings an exception describing why will be raised.</p>