File: CosNotifyChannelAdmin_EventChannel.3

package info (click to toggle)
erlang-manpages 1%3A12.b.3-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,188 kB
  • ctags: 2
  • sloc: makefile: 68; perl: 30; sh: 15
file content (246 lines) | stat: -rw-r--r-- 4,993 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
.TH CosNotifyChannelAdmin_EventChannel 3 "cosNotification  1.1.7" "Ericsson AB" "ERLANG MODULE DEFINITION"
.SH MODULE
CosNotifyChannelAdmin_EventChannel \- This module implements the OMG CosNotifyChannelAdmin::EventChannel interface\&.
.SH DESCRIPTION
.LP
To get access to the record definitions for the structures use: 
.br
\fI-include_lib("cosNotification/include/*\&.hrl")\&.\fR
.LP
This module also exports the functions described in:
.RS 2
.TP 2
*
CosNotification_QoSAdmin
.TP 2
*
CosNotification_AdminPropertiesAdmin
.RE

.SH EXPORTS
.LP
.B
_get_MyFactory(Channel) -> ChannelFactory
.br
.RS
.TP
Types
Channel = #objref
.br
ChannelFactory = #objref
.br
.RE
.RS
.LP
This readonly attribute maintains the reference of the event channel factory that created the target channel\&.
.RE
.LP
.B
_get_default_consumer_admin(Channel) -> ConsumerAdmin
.br
.RS
.TP
Types
Channel = #objref
.br
ConsumerAdmin = #objref
.br
.RE
.RS
.LP
This is a readonly attribute which maintains a reference to a default \fIConsumerAdmin\fR object associated with the target object\&.
.RE
.LP
.B
_get_default_supplier_admin(Channel) -> SupplierAdmin
.br
.RS
.TP
Types
Channel = #objref
.br
SupplierAdmin = #objref
.br
.RE
.RS
.LP
This is a readonly attribute which maintains a reference to a default \fISupplierAdmin\fR object associated with the target object\&.
.RE
.LP
.B
_get_default_filter_factory(Channel) -> FilterFactory
.br
.RS
.TP
Types
Channel = #objref
.br
FilterFactory = #objref
.br
.RE
.RS
.LP
The default \fIFilterFactory\fR associated with the target channel is maintained by this readonly attribute\&.
.RE
.LP
.B
new_for_consumers(Channel, OpType) -> Return
.br
.RS
.TP
Types
Channel = #objref
.br
OpType = \&'AND_OP\&' | \&'OR_OP\&'
.br
Return = {ConsumerAdmin, AdminID}
.br
ConsumerAdmin = #objref
.br
AdminID = long()
.br
.RE
.RS
.LP
This operation creates a new instance of a \fIConsumerAdmin\fR and supplies an Id which may be used when invoking other operations exported by this module\&. The returned object will inherit the Quality of Service properties of the target channel\&.
.RE
.LP
.B
for_consumers(Channel) -> ConsumerAdmin
.br
.RS
.TP
Types
Channel = #objref
.br
ConsumerAdmin = #objref
.br
.RE
.RS
.LP
A new new instance of a \fIConsumerAdmin\fR object is created but no Id is returned\&. The returned object\&'s operation type, i\&.e\&., \fI\&'AND_OP\&'\fR or \fI\&'OR_OP\&'\fR, will be set to the value of the configuration parameter \fIfilterOp\fR\&. The target object\&'s Quality of Service properties will be inherited by the returned \fIConsumerAdmin\fR\&.
.RE
.LP
.B
new_for_suppliers(Channel, OpType) -> Return
.br
.RS
.TP
Types
Channel = #objref
.br
OpType = \&'AND_OP\&' | \&'OR_OP\&'
.br
Return = {SupplierAdmin, AdminID}
.br
SupplierAdmin = #objref
.br
AdminID = long()
.br
.RE
.RS
.LP
Enables us to create a new instance of a \fISupplierAdmin\fR\&. An Id, which may be used when invoking other operations exported by this module, is also returned\&. The current Quality of Service settings associated with the target object will be inherited by the \fISupplierAdmin\fR\&.
.RE
.LP
.B
for_suppliers(Channel) -> SupplierAdmin
.br
.RS
.TP
Types
Channel = #objref
.br
SupplierAdmin = #objref
.br
.RE
.RS
.LP
To create a new \fISupplierAdmin\fR with the target object\&'s current Quality of Service settings we can use this function\&. The returned object\&'s operation type (\fI\&'AND_OP\&'\fR or \fI\&'OR_OP\&'\fR) will be determined by the configuration variable \fIfilterOp\fR\&.
.RE
.LP
.B
get_consumeradmin(Channel, AdminID) -> ConsumerAdmin
.br
.RS
.TP
Types
Channel = #objref
.br
AdminID = long()
.br
ConsumerAdmin = #objref | {\&'EXCEPTION\&', #\&'CosNotifyChannelAdmin_AdminNotFound\&'{}}
.br
.RE
.RS
.LP
If the given Id is associated with a \fIConsumerAdmin\fR the object reference is returned\&. If such association never existed or the \fIConsumerAdmin\fR have terminated an exception is raised\&.
.RE
.LP
.B
get_supplieradmin(Channel, AdminID) -> SupplierAdmin
.br
.RS
.TP
Types
Channel = #objref
.br
AdminID = long()
.br
SupplierAdmin = #objref | {\&'EXCEPTION\&', #\&'CosNotifyChannelAdmin_AdminNotFound\&'{}}
.br
.RE
.RS
.LP
Equal to the operation \fIget_consumeradmin/2\fR but a reference to a \fISupplierAdmin\fR is returned\&.
.RE
.LP
.B
get_all_consumeradmins(Channel) -> Reply
.br
.RS
.TP
Types
Channel = #objref
.br
Reply = [AdminID]
.br
AdminID = long()
.br
.RE
.RS
.LP
To get access to all \fIConsumerAdmin\fR Id\&'s created by the target object, and still alive, this operation could be invoked\&.
.RE
.LP
.B
get_all_supplieradmins(Channel) -> Reply
.br
.RS
.TP
Types
Channel = #objref
.br
Reply = [AdminID]
.br
AdminID = long()
.br
.RE
.RS
.LP
Equal to the operation \fIget_all_consumeradmins/1\fR but returns a list of all \fISupplierAdmin\fR object ID\&'s\&.
.RE
.LP
.B
destroy(Channel) -> ok
.br
.RS
.TP
Types
Channel = #objref
.br
.RE
.RS
.LP
The \fIdestroy\fR operation will terminate the target channel and all associated Admin objects\&.
.RE