1//Source file: fw_if_service.idl
2//Date:  13 October 2004
3//Framework to Service Interfaces for ES 203 915-03 V1.1.1, DES/TISPAN-01005-03-OSA, Parlay 5.0
4
5#ifndef __FW_IF_SERVICE_DEFINED
6#define __FW_IF_SERVICE_DEFINED
7
8#include "osa.idl"
9#include "fw_data.idl"
10
11module org {
12
13	module csapi {
14
15		module fw {
16
17			module fw_service {
18
19				module discovery {
20
21
22					interface IpFwServiceDiscovery : IpInterface {
23						TpServiceTypeNameList listServiceTypes ()
24							raises (TpCommonExceptions);
25
26						TpServiceTypeDescription describeServiceType (
27							in TpServiceTypeName name
28							)
29							raises (TpCommonExceptions,P_ILLEGAL_SERVICE_TYPE,P_UNKNOWN_SERVICE_TYPE);
30
31						TpServiceList discoverService (
32							in TpServiceTypeName serviceTypeName,
33							in TpServicePropertyList desiredPropertyList,
34							in TpInt32 max
35							)
36							raises (TpCommonExceptions,P_ILLEGAL_SERVICE_TYPE,P_UNKNOWN_SERVICE_TYPE,P_INVALID_PROPERTY);
37
38						TpServiceList listRegisteredServices ()
39							raises (TpCommonExceptions);
40
41					};
42
43				};
44
45				module service_lifecycle {
46
47
48					interface IpServiceInstanceLifecycleManager : IpInterface {
49						IpService createServiceManager (
50							in TpClientAppID application,
51							in TpServicePropertyList serviceProperties,
52							in TpServiceInstanceID serviceInstanceID
53							)
54							raises (TpCommonExceptions,P_INVALID_PROPERTY);
55
56						void destroyServiceManager (
57							in TpServiceInstanceID serviceInstance
58							)
59							raises (TpCommonExceptions);
60
61					};
62
63				};
64
65				module service_registration {
66
67
68					interface IpFwServiceRegistration : IpInterface {
69						TpServiceID registerService (
70							in TpServiceTypeName serviceTypeName,
71							in TpServicePropertyList servicePropertyList
72							)
73							raises (TpCommonExceptions,P_PROPERTY_TYPE_MISMATCH,P_DUPLICATE_PROPERTY_NAME,P_ILLEGAL_SERVICE_TYPE,P_UNKNOWN_SERVICE_TYPE,P_MISSING_MANDATORY_PROPERTY,P_SERVICE_TYPE_UNAVAILABLE);
74
75						void announceServiceAvailability (
76							in TpServiceID serviceID,
77							in service_lifecycle::IpServiceInstanceLifecycleManager serviceInstanceLifecycleManagerRef
78							)
79							raises (TpCommonExceptions,P_ILLEGAL_SERVICE_ID,P_UNKNOWN_SERVICE_ID,P_INVALID_INTERFACE_TYPE);
80
81						void unregisterService (
82							in TpServiceID serviceID
83							)
84							raises (TpCommonExceptions,P_ILLEGAL_SERVICE_ID,P_UNKNOWN_SERVICE_ID);
85
86						TpServiceDescription describeService (
87							in TpServiceID serviceID
88							)
89							raises (TpCommonExceptions,P_ILLEGAL_SERVICE_ID,P_UNKNOWN_SERVICE_ID);
90
91						void unannounceService (
92							in TpServiceID serviceID
93							)
94							raises (TpCommonExceptions,P_ILLEGAL_SERVICE_ID,P_UNKNOWN_SERVICE_ID);
95
96						TpServiceID registerServiceSubType (
97							in TpServiceTypeName serviceTypeName,
98							in TpServicePropertyList servicePropertyList,
99							in TpServiceTypePropertyValueList extendedServicePropertyList
100							)
101							raises (TpCommonExceptions,P_PROPERTY_TYPE_MISMATCH,P_DUPLICATE_PROPERTY_NAME,P_ILLEGAL_SERVICE_TYPE,P_UNKNOWN_SERVICE_TYPE,P_MISSING_MANDATORY_PROPERTY,P_SERVICE_TYPE_UNAVAILABLE);
102
103					};
104
105				};
106
107				module integrity {
108					interface IpSvcHeartBeatMgmt ;
109					interface IpFwHeartBeat ;
110					interface IpSvcHeartBeat ;
111
112
113
114					interface IpSvcLoadManager : IpInterface {
115						void querySvcLoadReq (
116							in TpTimeInterval timeInterval
117							)
118							raises (TpCommonExceptions);
119
120						void queryLoadRes (
121							in TpLoadStatisticList loadStatistics
122							)
123							raises (TpCommonExceptions);
124
125						void queryLoadErr (
126							in TpLoadStatisticError loadStatisticsError
127							)
128							raises (TpCommonExceptions);
129
130						void loadLevelNotification (
131							in TpLoadStatisticList loadStatistics
132							)
133							raises (TpCommonExceptions);
134
135						void suspendNotification ()
136							raises (TpCommonExceptions);
137
138						void resumeNotification ()
139							raises (TpCommonExceptions);
140
141						void createLoadLevelNotification ()
142							raises (TpCommonExceptions);
143
144						void destroyLoadLevelNotification ()
145							raises (TpCommonExceptions);
146
147						void querySvcLoadStatsReq (
148							in TpLoadTestID loadStatsReqID,
149							in TpTimeInterval timeInterval
150							)
151							raises (TpCommonExceptions);
152
153						void queryLoadStatsRes (
154							in TpLoadTestID loadStatsReqID,
155							in TpLoadStatisticList loadStatistics
156							)
157							raises (TpCommonExceptions);
158
159						void queryLoadStatsErr (
160							in TpLoadTestID loadStatsReqID,
161							in TpLoadStatisticError loadStatisticsError
162							)
163							raises (TpCommonExceptions);
164
165					};
166
167
168					interface IpFwLoadManager : IpInterface {
169						void reportLoad (
170							in TpLoadLevel loadLevel
171							)
172							raises (TpCommonExceptions);
173
174						void queryLoadReq (
175							in TpSubjectType querySubject,
176							in TpTimeInterval timeInterval
177							)
178							raises (TpCommonExceptions);
179
180						void querySvcLoadRes (
181							in TpLoadStatisticList loadStatistics
182							)
183							raises (TpCommonExceptions);
184
185						void querySvcLoadErr (
186							in TpLoadStatisticError loadStatisticError
187							)
188							raises (TpCommonExceptions);
189
190						void createLoadLevelNotification (
191							in TpSubjectType notificationSubject
192							)
193							raises (TpCommonExceptions);
194
195						void destroyLoadLevelNotification (
196							in TpSubjectType notificationSubject
197							)
198							raises (TpCommonExceptions);
199
200						void suspendNotification (
201							in TpSubjectType notificationSubject
202							)
203							raises (TpCommonExceptions);
204
205						void resumeNotification (
206							in TpSubjectType notificationSubject
207							)
208							raises (TpCommonExceptions);
209
210						void queryLoadStatsReq (
211							in TpLoadTestID loadStatsReqID,
212							in TpSubjectType querySubject,
213							in TpTimeInterval timeInterval
214							)
215							raises (TpCommonExceptions);
216
217						void querySvcLoadStatsRes (
218							in TpLoadTestID loadStatsReqID,
219							in TpLoadStatisticList loadStatistics
220							)
221							raises (TpCommonExceptions);
222
223						void querySvcLoadStatsErr (
224							in TpLoadTestID loadStatsReqID,
225							in TpLoadStatisticError loadStatisticError
226							)
227							raises (TpCommonExceptions);
228
229					};
230
231
232					interface IpSvcFaultManager : IpInterface {
233						void activityTestRes (
234							in TpActivityTestID activityTestID,
235							in TpActivityTestRes activityTestResult
236							)
237							raises (TpCommonExceptions,P_INVALID_ACTIVITY_TEST_ID);
238
239						void svcActivityTestReq (
240							in TpActivityTestID activityTestID
241							)
242							raises (TpCommonExceptions);
243
244						void fwFaultReportInd (
245							in TpInterfaceFault fault
246							)
247							raises (TpCommonExceptions);
248
249						void fwFaultRecoveryInd (
250							in TpInterfaceFault fault
251							)
252							raises (TpCommonExceptions);
253
254						void fwUnavailableInd (
255							in TpFwUnavailReason reason
256							)
257							raises (TpCommonExceptions);
258
259						void svcUnavailableInd ()
260							raises (TpCommonExceptions);
261
262						void appUnavailableInd ()
263							raises (TpCommonExceptions);
264
265						void genFaultStatsRecordRes (
266							in TpFaultStatsRecord faultStatistics,
267							in TpSubjectType recordSubject
268							)
269							raises (TpCommonExceptions);
270
271						void activityTestErr (
272							in TpActivityTestID activityTestID
273							)
274							raises (TpCommonExceptions,P_INVALID_ACTIVITY_TEST_ID);
275
276						void genFaultStatsRecordErr (
277							in TpFaultStatisticsError faultStatisticsError,
278							in TpSubjectType recordSubject
279							)
280							raises (TpCommonExceptions);
281
282						void genFaultStatsRecordReq (
283							in TpTimeInterval timePeriod,
284							in TpServiceIDList serviceIDs
285							)
286							raises (TpCommonExceptions,P_INVALID_SERVICE_ID,P_UNAUTHORISED_PARAMETER_VALUE);
287
288						void generateFaultStatsRecordReq (
289							in TpTimeInterval timePeriod
290							)
291							raises (TpCommonExceptions);
292
293						void appAvailStatusInd (
294							in TpAppAvailStatusReason reason
295							)
296							raises (TpCommonExceptions);
297
298						void generateFaultStatisticsRecordRes (
299							in TpFaultReqID faultStatsReqID,
300							in TpFaultStatsRecord faultStatistics,
301							in TpSubjectType recordSubject
302							)
303							raises (TpCommonExceptions);
304
305						void generateFaultStatisticsRecordErr (
306							in TpFaultReqID faultStatsReqID,
307							in TpFaultStatisticsError faultStatisticsError,
308							in TpSubjectType recordSubject
309							)
310							raises (TpCommonExceptions);
311
312						void generateFaultStatisticsRecordReq (
313							in TpFaultReqID faultStatsReqID,
314							in TpTimeInterval timePeriod
315							)
316							raises (TpCommonExceptions);
317
318						void fwAvailStatusInd (
319							in TpFwAvailStatusReason reason
320							);
321
322					};
323
324
325					interface IpFwFaultManager : IpInterface {
326						void activityTestReq (
327							in TpActivityTestID activityTestID,
328							in TpSubjectType testSubject
329							)
330							raises (TpCommonExceptions);
331
332						void svcActivityTestRes (
333							in TpActivityTestID activityTestID,
334							in TpActivityTestRes activityTestResult
335							)
336							raises (TpCommonExceptions,P_INVALID_ACTIVITY_TEST_ID);
337
338						void appUnavailableInd ()
339							raises (TpCommonExceptions);
340
341						void genFaultStatsRecordReq (
342							in TpTimeInterval timePeriod,
343							in TpSubjectType recordSubject
344							)
345							raises (TpCommonExceptions);
346
347						void svcUnavailableInd (
348							in TpSvcUnavailReason reason
349							)
350							raises (TpCommonExceptions);
351
352						void svcActivityTestErr (
353							in TpActivityTestID activityTestID
354							)
355							raises (TpCommonExceptions,P_INVALID_ACTIVITY_TEST_ID);
356
357						void genFaultStatsRecordRes (
358							in TpFaultStatsRecord faultStatistics,
359							in TpServiceIDList serviceIDs
360							)
361							raises (TpCommonExceptions);
362
363						void genFaultStatsRecordErr (
364							in TpFaultStatisticsError faultStatisticsError,
365							in TpServiceIDList serviceIDs
366							)
367							raises (TpCommonExceptions);
368
369						void generateFaultStatsRecordRes (
370							in TpFaultStatsRecord faultStatistics
371							)
372							raises (TpCommonExceptions);
373
374						void generateFaultStatsRecordErr (
375							in TpFaultStatisticsError faultStatisticsError
376							)
377							raises (TpCommonExceptions);
378
379						void svcAvailStatusInd (
380							in TpSvcAvailStatusReason reason
381							)
382							raises (TpCommonExceptions);
383
384						void generateFaultStatisticsRecordReq (
385							in TpFaultReqID faultStatsReqID,
386							in TpTimeInterval timePeriod,
387							in TpSubjectType recordSubject
388							)
389							raises (TpCommonExceptions);
390
391						void generateFaultStatisticsRecordRes (
392							in TpFaultReqID faultStatsReqID,
393							in TpFaultStatsRecord faultStatistics
394							)
395							raises (TpCommonExceptions);
396
397						void generateFaultStatisticsRecordErr (
398							in TpFaultReqID faultStatsReqID,
399							in TpFaultStatisticsError faultStatisticsError
400							)
401							raises (TpCommonExceptions);
402
403					};
404
405
406					interface IpSvcOAM : IpInterface {
407						TpDateAndTime systemDateTimeQuery (
408							in TpDateAndTime systemDateAndTime
409							)
410							raises (TpCommonExceptions,P_INVALID_TIME_AND_DATE_FORMAT);
411
412					};
413
414
415					interface IpFwOAM : IpInterface {
416						TpDateAndTime systemDateTimeQuery (
417							in TpDateAndTime clientDateAndTime
418							)
419							raises (TpCommonExceptions,P_INVALID_TIME_AND_DATE_FORMAT);
420
421					};
422
423
424					interface IpFwHeartBeatMgmt : IpInterface {
425
426						void enableHeartBeat (
427							in TpInt32 interval,
428							in IpSvcHeartBeat svcInterface
429							)
430							raises (TpCommonExceptions,P_INVALID_INTERFACE_TYPE);
431
432						void disableHeartBeat ()
433							raises (TpCommonExceptions);
434
435						void changeInterval (
436							in TpInt32 interval
437							)
438							raises (TpCommonExceptions);
439
440					};
441
442
443					interface IpSvcHeartBeat : IpInterface {
444
445						void pulse ()
446							raises (TpCommonExceptions);
447
448					};
449
450
451					interface IpFwHeartBeat : IpInterface {
452
453						void pulse ()
454							raises (TpCommonExceptions);
455
456					};
457
458
459					interface IpSvcHeartBeatMgmt : IpInterface {
460
461						void enableSvcHeartBeat (
462							in TpInt32 interval,
463							in IpFwHeartBeat fwInterface
464							)
465							raises (TpCommonExceptions,P_INVALID_INTERFACE_TYPE);
466
467						void disableSvcHeartBeat ()
468							raises (TpCommonExceptions);
469
470						void changeInterval (
471							in TpInt32 interval
472							)
473							raises (TpCommonExceptions);
474
475					};
476
477				};
478
479				module notification {
480
481
482					interface IpFwEventNotification : IpInterface {
483						TpAssignmentID createNotification (
484							in TpFwEventCriteria eventCriteria
485							)
486							raises (TpCommonExceptions,P_INVALID_EVENT_TYPE,P_INVALID_CRITERIA);
487
488						void destroyNotification (
489							in TpAssignmentID assignmentID
490							)
491							raises (TpCommonExceptions,P_INVALID_ASSIGNMENT_ID);
492
493					};
494
495
496					interface IpSvcEventNotification : IpInterface {
497						void reportNotification (
498							in TpFwEventInfo eventInfo,
499							in TpAssignmentID assignmentID
500							)
501							raises (TpCommonExceptions,P_INVALID_ASSIGNMENT_ID);
502
503						void notificationTerminated ()
504							raises (TpCommonExceptions);
505
506					};
507
508				};
509
510			};
511
512
513		};
514
515	};
516
517};
518
519#endif
520