smb2-dissector: learn the "REPLAY_OPERATION" flag
[obnox/wireshark/wip.git] / idl / parlay / fw_if_app.idl
1 //Source file: fw_if_app.idl
2 //Date:  13 October 2004
3 //Framework to Application Interfaces for ES 203 915-03 V1.1.1, DES/TISPAN-01005-03-OSA, Parlay 5.0
4
5 #ifndef __FW_IF_APP_DEFINED
6 #define __FW_IF_APP_DEFINED
7
8
9 #include "osa.idl"
10 #include "fw_data.idl"
11
12 module org {
13         
14         module csapi {
15                 
16                 module fw {
17                         
18                         module fw_application {
19                                 
20                                 module notification {
21                                         
22                                         
23                                         interface IpAppEventNotification : IpInterface {
24                                                 void reportNotification (
25                                                         in TpFwEventInfo eventInfo,     
26                                                         in TpAssignmentID assignmentID  
27                                                         );
28                                                         
29                                                 void notificationTerminated ();
30                                                         
31                                         };
32                                         
33                                         
34                                         interface IpEventNotification : IpInterface {
35                                                 TpAssignmentID createNotification (
36                                                         in TpFwEventCriteria eventCriteria      
37                                                         )                                                       
38                                                         raises (TpCommonExceptions,P_ACCESS_DENIED,P_INVALID_CRITERIA,P_INVALID_EVENT_TYPE);
39                                                         
40                                                 void destroyNotification (
41                                                         in TpAssignmentID assignmentID  
42                                                         )                                                       
43                                                         raises (TpCommonExceptions,P_ACCESS_DENIED,P_INVALID_ASSIGNMENT_ID);
44                                                         
45                                         };
46                                         
47                                 };
48                                 
49                                 module integrity {
50                                         interface IpAppHeartBeatMgmt ;
51                                         interface IpHeartBeat ;
52                                         interface IpAppHeartBeat ;
53                                         
54                                         
55                                         
56                                         interface IpAppFaultManager : IpInterface {
57                                                 void activityTestRes (
58                                                         in TpActivityTestID activityTestID,     
59                                                         in TpActivityTestRes activityTestResult 
60                                                         );
61                                                         
62                                                 void appActivityTestReq (
63                                                         in TpActivityTestID activityTestID      
64                                                         );
65                                                         
66                                                 void fwFaultReportInd (
67                                                         in TpInterfaceFault fault       
68                                                         );
69                                                         
70                                                 void fwFaultRecoveryInd (
71                                                         in TpInterfaceFault fault       
72                                                         );
73                                                         
74                                                 void svcUnavailableInd (
75                                                         in TpServiceID serviceID,       
76                                                         in TpSvcUnavailReason reason    
77                                                         );
78                                                         
79                                                 void genFaultStatsRecordRes (
80                                                         in TpFaultStatsRecord faultStatistics,  
81                                                         in TpServiceIDList serviceIDs   
82                                                         );
83                                                         
84                                                 void fwUnavailableInd (
85                                                         in TpFwUnavailReason reason     
86                                                         );
87                                                         
88                                                 void activityTestErr (
89                                                         in TpActivityTestID activityTestID      
90                                                         );
91                                                         
92                                                 void genFaultStatsRecordErr (
93                                                         in TpFaultStatisticsError faultStatisticsError, 
94                                                         in TpServiceIDList serviceIDs   
95                                                         );
96                                                         
97                                                 void appUnavailableInd (
98                                                         in TpServiceID serviceID        
99                                                         );
100                                                         
101                                                 void genFaultStatsRecordReq (
102                                                         in TpTimeInterval timePeriod    
103                                                         );
104                                                         
105                                                 void svcAvailStatusInd (
106                                                         in TpServiceID serviceID,       
107                                                         in TpSvcAvailStatusReason reason        
108                                                         );
109                                                         
110                                                 void generateFaultStatisticsRecordRes (
111                                                         in TpFaultReqID faultStatsReqID,        
112                                                         in TpFaultStatsRecord faultStatistics,  
113                                                         in TpServiceIDList serviceIDs   
114                                                         );
115                                                         
116                                                 void generateFaultStatisticsRecordErr (
117                                                         in TpFaultReqID faultStatsReqID,        
118                                                         in TpFaultStatsErrorList faultStatistics,       
119                                                         in TpServiceIDList serviceIDs   
120                                                         );
121                                                         
122                                                 void generateFaultStatisticsRecordReq (
123                                                         in TpFaultReqID faultStatsReqID,        
124                                                         in TpTimeInterval timePeriod    
125                                                         );
126                                                         
127                                                 void fwAvailStatusInd (
128                                                         in TpFwAvailStatusReason reason 
129                                                         );
130                                                         
131                                         };
132                                         
133                                         
134                                         interface IpAppLoadManager : IpInterface {
135                                                 void queryAppLoadReq (
136                                                         in TpTimeInterval timeInterval  
137                                                         );
138                                                         
139                                                 void queryLoadRes (
140                                                         in TpLoadStatisticList loadStatistics   
141                                                         );
142                                                         
143                                                 void queryLoadErr (
144                                                         in TpLoadStatisticError loadStatisticsError     
145                                                         );
146                                                         
147                                                 void loadLevelNotification (
148                                                         in TpLoadStatisticList loadStatistics   
149                                                         );
150                                                         
151                                                 void resumeNotification ();
152                                                         
153                                                 void suspendNotification ();
154                                                         
155                                                 void createLoadLevelNotification ();
156                                                         
157                                                 void destroyLoadLevelNotification ();
158                                                         
159                                                 void queryAppLoadStatsReq (
160                                                         in TpLoadTestID loadStatsReqID, 
161                                                         in TpTimeInterval timeInterval  
162                                                         );
163                                                         
164                                                 void queryLoadStatsRes (
165                                                         in TpLoadTestID loadStatsReqID, 
166                                                         in TpLoadStatisticList loadStatistics   
167                                                         );
168                                                         
169                                                 void queryLoadStatsErr (
170                                                         in TpLoadTestID loadStatsReqID, 
171                                                         in TpLoadStatisticError loadStatisticsError     
172                                                         );
173                                                         
174                                         };
175                                         
176                                         
177                                         interface IpLoadManager : IpInterface {
178                                                 void reportLoad (
179                                                         in TpLoadLevel loadLevel        
180                                                         )                                                       
181                                                         raises (TpCommonExceptions);
182                                                         
183                                                 void queryLoadReq (
184                                                         in TpServiceIDList serviceIDs,  
185                                                         in TpTimeInterval timeInterval  
186                                                         )                                                       
187                                                         raises (TpCommonExceptions,P_INVALID_SERVICE_ID,P_SERVICE_NOT_ENABLED,P_UNAUTHORISED_PARAMETER_VALUE);
188                                                         
189                                                 void queryAppLoadRes (
190                                                         in TpLoadStatisticList loadStatistics   
191                                                         )                                                       
192                                                         raises (TpCommonExceptions);
193                                                         
194                                                 void queryAppLoadErr (
195                                                         in TpLoadStatisticError loadStatisticsError     
196                                                         )                                                       
197                                                         raises (TpCommonExceptions);
198                                                         
199                                                 void createLoadLevelNotification (
200                                                         in TpServiceIDList serviceIDs   
201                                                         )                                                       
202                                                         raises (TpCommonExceptions,P_INVALID_SERVICE_ID,P_UNAUTHORISED_PARAMETER_VALUE);
203                                                         
204                                                 void destroyLoadLevelNotification (
205                                                         in TpServiceIDList serviceIDs   
206                                                         )                                                       
207                                                         raises (TpCommonExceptions,P_INVALID_SERVICE_ID,P_UNAUTHORISED_PARAMETER_VALUE);
208                                                         
209                                                 void resumeNotification (
210                                                         in TpServiceIDList serviceIDs   
211                                                         )                                                       
212                                                         raises (TpCommonExceptions,P_INVALID_SERVICE_ID,P_SERVICE_NOT_ENABLED,P_UNAUTHORISED_PARAMETER_VALUE);
213                                                         
214                                                 void suspendNotification (
215                                                         in TpServiceIDList serviceIDs   
216                                                         )                                                       
217                                                         raises (TpCommonExceptions,P_INVALID_SERVICE_ID,P_SERVICE_NOT_ENABLED,P_UNAUTHORISED_PARAMETER_VALUE);
218                                                         
219                                                 void queryLoadStatsReq (
220                                                         in TpLoadTestID loadStatsReqID, 
221                                                         in TpServiceIDList serviceIDs,  
222                                                         in TpTimeInterval timeInterval  
223                                                         )                                                       
224                                                         raises (TpCommonExceptions,P_INVALID_SERVICE_ID,P_SERVICE_NOT_ENABLED,P_UNAUTHORISED_PARAMETER_VALUE);
225                                                         
226                                                 void queryAppLoadStatsRes (
227                                                         in TpLoadTestID loadStatsReqID, 
228                                                         in TpLoadStatisticList loadStatistics   
229                                                         )                                                       
230                                                         raises (TpCommonExceptions);
231                                                         
232                                                 void queryAppLoadStatsErr (
233                                                         in TpLoadTestID loadStatsReqID, 
234                                                         in TpLoadStatisticError loadStatisticsError     
235                                                         )                                                       
236                                                         raises (TpCommonExceptions);
237                                                         
238                                         };
239                                         
240                                         
241                                         interface IpAppOAM : IpInterface {
242                                                 TpDateAndTime systemDateTimeQuery (
243                                                         in TpDateAndTime systemDateAndTime      
244                                                         );
245                                                         
246                                         };
247                                         
248                                         
249                                         interface IpOAM : IpInterface {
250                                                 TpDateAndTime systemDateTimeQuery (
251                                                         in TpDateAndTime clientDateAndTime      
252                                                         )                                                       
253                                                         raises (TpCommonExceptions,P_INVALID_TIME_AND_DATE_FORMAT);
254                                                         
255                                         };
256                                         
257                                         
258                                         interface IpFaultManager : IpInterface {
259                                                 void activityTestReq (
260                                                         in TpActivityTestID activityTestID,     
261                                                         in TpServiceID svcID    
262                                                         )                                                       
263                                                         raises (TpCommonExceptions,P_INVALID_SERVICE_ID,P_UNAUTHORISED_PARAMETER_VALUE);
264                                                         
265                                                 void appActivityTestRes (
266                                                         in TpActivityTestID activityTestID,     
267                                                         in TpActivityTestRes activityTestResult 
268                                                         )                                                       
269                                                         raises (TpCommonExceptions,P_INVALID_ACTIVITY_TEST_ID);
270                                                         
271                                                 void svcUnavailableInd (
272                                                         in TpServiceID serviceID        
273                                                         )                                                       
274                                                         raises (TpCommonExceptions,P_INVALID_SERVICE_ID,P_UNAUTHORISED_PARAMETER_VALUE);
275                                                         
276                                                 void genFaultStatsRecordReq (
277                                                         in TpTimeInterval timePeriod,   
278                                                         in TpServiceIDList serviceIDs   
279                                                         )                                                       
280                                                         raises (TpCommonExceptions,P_INVALID_SERVICE_ID,P_UNAUTHORISED_PARAMETER_VALUE);
281                                                         
282                                                 void appActivityTestErr (
283                                                         in TpActivityTestID activityTestID      
284                                                         )                                                       
285                                                         raises (TpCommonExceptions,P_INVALID_ACTIVITY_TEST_ID);
286                                                         
287                                                 void appUnavailableInd (
288                                                         in TpServiceID serviceID        
289                                                         )                                                       
290                                                         raises (TpCommonExceptions);
291                                                         
292                                                 void genFaultStatsRecordRes (
293                                                         in TpFaultStatsRecord faultStatistics   
294                                                         )                                                       
295                                                         raises (TpCommonExceptions);
296                                                         
297                                                 void genFaultStatsRecordErr (
298                                                         in TpFaultStatisticsError faultStatisticsError  
299                                                         )                                                       
300                                                         raises (TpCommonExceptions);
301                                                         
302                                                 void appAvailStatusInd (
303                                                         in TpAppAvailStatusReason reason        
304                                                         )                                                       
305                                                         raises (TpCommonExceptions);
306                                                         
307                                                 void generateFaultStatisticsRecordReq (
308                                                         in TpFaultReqID faultStatsReqID,        
309                                                         in TpTimeInterval timePeriod,   
310                                                         in TpServiceIDList serviceIDs   
311                                                         )                                                       
312                                                         raises (TpCommonExceptions,P_INVALID_SERVICE_ID,P_UNAUTHORISED_PARAMETER_VALUE);
313                                                         
314                                                 void generateFaultStatisticsRecordRes (
315                                                         in TpFaultReqID faultStatsReqID,        
316                                                         in TpFaultStatsRecord faultStatistics   
317                                                         )                                                       
318                                                         raises (TpCommonExceptions);
319                                                         
320                                                 void generateFaultStatisticsRecordErr (
321                                                         in TpFaultReqID faultStatsReqID,        
322                                                         in TpFaultStatisticsError faultStatisticsError  
323                                                         )                                                       
324                                                         raises (TpCommonExceptions);
325                                                         
326                                         };
327                                         
328                                         
329                                         interface IpHeartBeatMgmt : IpInterface {
330                                                 
331                                                 void enableHeartBeat (
332                                                         in TpInt32 interval,    
333                                                         in IpAppHeartBeat appInterface  
334                                                         )                                                       
335                                                         raises (TpCommonExceptions);
336                                                         
337                                                 void disableHeartBeat ()                                                        
338                                                         raises (TpCommonExceptions);
339                                                         
340                                                 void changeInterval (
341                                                         in TpInt32 interval     
342                                                         )                                                       
343                                                         raises (TpCommonExceptions);
344                                                         
345                                         };
346                                         
347                                         
348                                         interface IpAppHeartBeat : IpInterface {
349                                                 
350                                                 void pulse ();
351                                                         
352                                         };
353                                         
354                                         
355                                         interface IpHeartBeat : IpInterface {
356                                                 
357                                                 void pulse ()                                                   
358                                                         raises (TpCommonExceptions);
359                                                         
360                                         };
361                                         
362                                         
363                                         interface IpAppHeartBeatMgmt : IpInterface {
364                                                 
365                                                 void enableAppHeartBeat (
366                                                         in TpInt32 interval,    
367                                                         in IpHeartBeat fwInterface      
368                                                         );
369                                                         
370                                                 void disableAppHeartBeat ();
371                                                         
372                                                 void changeInterval (
373                                                         in TpInt32 interval     
374                                                         );
375                                                         
376                                         };
377                                         
378                                 };
379                                 
380                                 
381                                 module discovery {
382                                         
383                                         
384                                         interface IpServiceDiscovery : IpInterface {
385                                                 TpServiceTypeNameList listServiceTypes ()                                                       
386                                                         raises (TpCommonExceptions,P_ACCESS_DENIED);
387                                                         
388                                                 TpServiceTypeDescription describeServiceType (
389                                                         in TpServiceTypeName name       
390                                                         )                                                       
391                                                         raises (TpCommonExceptions,P_ACCESS_DENIED,P_ILLEGAL_SERVICE_TYPE,P_UNKNOWN_SERVICE_TYPE);
392                                                         
393                                                 TpServiceList discoverService (
394                                                         in TpServiceTypeName serviceTypeName,   
395                                                         in TpServicePropertyList desiredPropertyList,   
396                                                         in TpInt32 max  
397                                                         )                                                       
398                                                         raises (TpCommonExceptions,P_ACCESS_DENIED,P_ILLEGAL_SERVICE_TYPE,P_UNKNOWN_SERVICE_TYPE,P_INVALID_PROPERTY);
399                                                         
400                                                 TpServiceList listSubscribedServices ()                                                 
401                                                         raises (TpCommonExceptions,P_ACCESS_DENIED);
402                                                         
403                                         };
404                                         
405                                 };
406                                 
407                                 module service_agreement {
408                                         
409                                         
410                                         interface IpAppServiceAgreementManagement : IpInterface {
411                                                 TpOctetSet signServiceAgreement (
412                                                         in TpServiceToken serviceToken, 
413                                                         in TpString agreementText,      
414                                                         in TpSigningAlgorithm signingAlgorithm  
415                                                         )                                                       
416                                                         raises (TpCommonExceptions,P_INVALID_AGREEMENT_TEXT,P_INVALID_SERVICE_TOKEN,P_INVALID_SIGNING_ALGORITHM);
417                                                         
418                                                 void terminateServiceAgreement (
419                                                         in TpServiceToken serviceToken, 
420                                                         in TpString terminationText,    
421                                                         in TpOctetSet digitalSignature  
422                                                         )                                                       
423                                                         raises (TpCommonExceptions,P_INVALID_SERVICE_TOKEN,P_INVALID_SIGNATURE);
424                                                         
425                                         };
426                                         
427                                         
428                                         interface IpServiceAgreementManagement : IpInterface {
429                                                 TpSignatureAndServiceMgr signServiceAgreement (
430                                                         in TpServiceToken serviceToken, 
431                                                         in TpString agreementText,      
432                                                         in TpSigningAlgorithm signingAlgorithm  
433                                                         )                                                       
434                                                         raises (TpCommonExceptions,P_ACCESS_DENIED,P_INVALID_AGREEMENT_TEXT,P_INVALID_SERVICE_TOKEN,P_INVALID_SIGNING_ALGORITHM,P_SERVICE_ACCESS_DENIED);
435                                                         
436                                                 void terminateServiceAgreement (
437                                                         in TpServiceToken serviceToken, 
438                                                         in TpString terminationText,    
439                                                         in TpOctetSet digitalSignature  
440                                                         )                                                       
441                                                         raises (TpCommonExceptions,P_ACCESS_DENIED,P_INVALID_SERVICE_TOKEN,P_INVALID_SIGNATURE);
442                                                         
443                                                 TpServiceToken selectService (
444                                                         in TpServiceID serviceID        
445                                                         )                                                       
446                                                         raises (TpCommonExceptions,P_ACCESS_DENIED,P_INVALID_SERVICE_ID,P_SERVICE_ACCESS_DENIED);
447                                                         
448                                                 void initiateSignServiceAgreement (
449                                                         in TpServiceToken serviceToken  
450                                                         )                                                       
451                                                         raises (TpCommonExceptions,P_INVALID_SERVICE_TOKEN,P_SERVICE_ACCESS_DENIED);
452                                                         
453                                         };
454                                         
455                                 };
456                                 
457                         };                      
458                         
459                 };
460                 
461         };
462         
463 };
464
465 #endif