aboutsummaryrefslogtreecommitdiffstats
path: root/idl/parlay/dsc.idl
blob: a04934f993b62484ad7aa359c7ab21f10ca15e42 (plain)
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
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
//Source file: dsc.idl
//Date:  11 October 2004
//Data Session Control Interfaces and Data Types for ETSI ES 203 915-08 V1.1.1, DES/TISPAN-01005-08-OSA, Parlay 5.0


#ifndef __DSC_DEFINED
#define __DSC_DEFINED


#include "osa.idl"

module org {
	
	module csapi {
		
		
		module dsc {
			interface IpAppDataSessionControlManager ;
			interface IpDataSessionControlManager ;
			interface IpDataSession;
			
			
			const TpInt32 P_DATA_SESSION_SUPERVISE_INFORM = 4;
			
			const TpInt32 P_DATA_SESSION_SUPERVISE_DATA_SESSION_ENDED = 2;
			
			const TpInt32 P_DATA_SESSION_SUPERVISE_MESSAGE_SENT = 4;
			
			const TpInt32 P_DATA_SESSION_SUPERVISE_RELEASE = 1;
			
			const TpInt32 P_DATA_SESSION_SUPERVISE_RESPOND = 2;
			
			const TpInt32 P_DATA_SESSION_SUPERVISE_VOLUME_REACHED = 1;
			
			
			struct TpChargePerVolume {
				TpInt32 InitialCharge;
				TpInt32 CurrentChargePerKilobyte;
				TpInt32 NextChargePerKilobyte;
			};
			
			enum TpDataSessionChargeOrderCategory {

				P_DATA_SESSION_CHARGE_PER_VOLUME,
				P_DATA_SESSION_CHARGE_NETWORK				
			};
			
			
			union TpDataSessionChargeOrder switch(TpDataSessionChargeOrderCategory) {
				case P_DATA_SESSION_CHARGE_PER_VOLUME: TpChargePerVolume ChargePerVolume;
				case P_DATA_SESSION_CHARGE_NETWORK: TpString NetworkCharge;
			};
			
			
			struct TpDataSessionChargePlan {
				TpDataSessionChargeOrder ChargeOrderType;
				TpString Currency;
				TpString AdditionalInfo;
			};
			
			
			enum TpDataSessionErrorType {

				P_DATA_SESSION_ERROR_UNDEFINED,
				P_DATA_SESSION_ERROR_INVALID_ADDRESS,
				P_DATA_SESSION_ERROR_INVALID_STATE				
			};
			
			
			union TpDataSessionAdditionalErrorInfo switch(TpDataSessionErrorType) {
				case P_DATA_SESSION_ERROR_INVALID_ADDRESS: TpAddressError DataSessionErrorInvalidAddress;
				default: short Dummy;
			};
			
			
			struct TpDataSessionError {
				TpDateAndTime ErrorTime;
				TpDataSessionErrorType ErrorType;
				TpDataSessionAdditionalErrorInfo AdditionalErrorInfo;
			};
			
			
			typedef TpInt32 TpDataSessionEventName;
			
			
			enum TpDataSessionFault {

				P_DATA_SESSION_FAULT_UNDEFINED,
				P_DATA_SESSION_FAULT_USER_ABORTED,
				P_DATA_SESSION_TIMEOUT_ON_RELEASE,
				P_DATA_SESSION_TIMEOUT_ON_INTERRUPT				
			};
			
			
			enum TpDataSessionMonitorMode {

				P_DATA_SESSION_MONITOR_MODE_INTERRUPT,
				P_DATA_SESSION_MONITOR_MODE_NOTIFY,
				P_DATA_SESSION_MONITOR_MODE_DO_NOT_MONITOR				
			};
			
			
			struct TpDataSessionEventCriteria {
				TpAddressRange DestinationAddress;
				TpAddressRange OriginationAddress;
				TpDataSessionEventName DataSessionEventName;
				TpDataSessionMonitorMode MonitorMode;
			};
			
			
			struct TpDataSessionEventInfo {
				TpAddress DestinationAddress;
				TpAddress OriginatingAddress;
				TpDataSessionEventName DataSessionEventName;
				TpDataSessionMonitorMode MonitorMode;
				TpDataSessionQosClass QoSClass;
			};
			
			
			struct TpDataSessionReleaseCause {
				TpInt32 Value;
				TpInt32 Location;
			};
			
			
			enum TpDataSessionReportType {

				P_DATA_SESSION_REPORT_UNDEFINED,
				P_DATA_SESSION_REPORT_CONNECTED,
				P_DATA_SESSION_REPORT_DISCONNECT				
			};
			
			
			union TpDataSessionAdditionalReportInfo switch(TpDataSessionReportType) {
				case P_DATA_SESSION_REPORT_DISCONNECT: TpDataSessionReleaseCause DataSessionDisconnect;
				default: short Dummy;
			};
			
			
			struct TpDataSessionReport {
				TpDataSessionMonitorMode MonitorMode;
				TpDateAndTime DataSessionEventTime;
				TpDataSessionReportType DataSessionReportType;
				TpDataSessionAdditionalReportInfo AdditionalReportInfo;
			};
			
			
			struct TpDataSessionReportRequest {
				TpDataSessionMonitorMode MonitorMode;
				TpDataSessionReportType DataSessionReportType;
			};
			
			
			typedef sequence <TpDataSessionReportRequest> TpDataSessionReportRequestSet;
			
			
			typedef TpInt32 TpDataSessionSuperviseReport;
			
			
			typedef TpInt32 TpDataSessionSuperviseTreatment;
			
			
			struct TpDataSessionSuperviseVolume {
				TpInt32 VolumeQuantity;
				TpInt32 VolumeUnit;
			};
			
			
			const TpInt32 P_EVENT_NAME_UNDEFINED = 0;
			
			const TpInt32 P_EVENT_DSCS_SETUP = 1;
			
			const TpInt32 P_EVENT_DSCS_ESTABLISHED = 2;
			const TpInt32 P_EVENT_NAME_QOD_CHANGED = 4;
			
			struct TpDataSessionEventCriteriaResult {
				TpDataSessionEventCriteria EventCriteria;
				TpAssignmentID AssignmentID;
			};
			
			
			typedef sequence <TpDataSessionEventCriteriaResult> TpDataSessionEventCriteriaResultSet;
			
			
			const TpInt32 P_EVENT_DSCS_QOS_CHANGED = 4;
			
			struct TpDataSessionIdentifier {
				IpDataSession DataSessionReference;
				TpSessionID DataSessionID;
			};
			
			
			interface IpAppDataSession : IpInterface {
				
				void connectRes (
					in TpSessionID dataSessionID,	
					in TpDataSessionReport eventReport,	
					in TpAssignmentID assignmentID
					);
					
				void connectErr (
					in TpSessionID dataSessionID,	
					in TpDataSessionError errorIndication,	
					in TpAssignmentID assignmentID
					);
					
				void superviseDataSessionRes (
					in TpSessionID dataSessionID,	
					in TpDataSessionSuperviseReport report,	
					in TpDataSessionSuperviseVolume usedVolume,	
					in TpDataSessionQosClass qualityOfService	
					);
					
				void superviseDataSessionErr (
					in TpSessionID dataSessionID,	
					in TpDataSessionError errorIndication	
					);
					
				void dataSessionFaultDetected (
					in TpSessionID dataSessionID,	
					in TpDataSessionFault fault	
					);
					
			};
			
			
			interface IpAppDataSessionControlManager : IpInterface {
				
				void dataSessionAborted (
					in TpSessionID dataSession	
					);
					
				IpAppDataSession reportNotification (
					in TpDataSessionIdentifier dataSessionReference,	
					in TpDataSessionEventInfo eventInfo,	
					in TpAssignmentID assignmentID	
					);
					
				void dataSessionNotificationContinued ();
					
				void dataSessionNotificationInterrupted ();
					
				void abortMultipleDataSessions (
					in TpSessionIDSet dataSessionSet	
					);
					
			};
			
			
			interface IpDataSession : IpService {
				
				TpAssignmentID connectReq (
					in TpSessionID dataSessionID,	
					in TpDataSessionReportRequestSet responseRequested,	
					in TpAddress targetAddress	
					)					
					raises (TpCommonExceptions,P_INVALID_NETWORK_STATE,P_INVALID_ADDRESS,P_INVALID_SESSION_ID);
					
				void release (
					in TpSessionID dataSessionID,	
					in TpDataSessionReleaseCause cause	
					)					
					raises (TpCommonExceptions,P_INVALID_NETWORK_STATE,P_INVALID_SESSION_ID);
					
				void superviseDataSessionReq (
					in TpSessionID dataSessionID,	
					in TpDataSessionSuperviseTreatment treatment,	
					in TpDataSessionSuperviseVolume bytes	
					)					
					raises (TpCommonExceptions,P_INVALID_NETWORK_STATE,P_INVALID_SESSION_ID);
					
				void setDataSessionChargePlan (
					in TpSessionID dataSessionID,	
					in TpDataSessionChargePlan dataSessionChargePlan	
					)					
					raises (TpCommonExceptions,P_INVALID_NETWORK_STATE,P_INVALID_SESSION_ID);
					
				void setAdviceOfCharge (
					in TpSessionID dataSessionID,	
					in TpAoCInfo aoCInfo,	
					in TpDuration tariffSwitch	
					)					
					raises (TpCommonExceptions,P_INVALID_NETWORK_STATE,P_INVALID_TIME_AND_DATE_FORMAT);
					
				void deassignDataSession (
					in TpSessionID dataSessionID	
					)					
					raises (TpCommonExceptions,P_INVALID_SESSION_ID);
					
				void continueProcessing (
					in TpSessionID dataSessionID	
					)					
					raises (TpCommonExceptions,P_INVALID_SESSION_ID,P_INVALID_NETWORK_STATE);
					
			};
			
			
			interface IpDataSessionControlManager : IpService {
				
				TpAssignmentID createNotification (
					in IpAppDataSessionControlManager appDataSessionControlManager,	
					in TpDataSessionEventCriteria eventCriteria	
					)					
					raises (TpCommonExceptions,P_INVALID_NETWORK_STATE,P_INVALID_CRITERIA,P_INVALID_EVENT_TYPE);
					
				void destroyNotification (
					in TpAssignmentID assignmentID	
					)					
					raises (TpCommonExceptions,P_INVALID_NETWORK_STATE,P_INVALID_ASSIGNMENT_ID);
					
				void changeNotification (
					in TpAssignmentID assignmentID,	
					in TpDataSessionEventCriteria eventCriteria	
					)					
					raises (TpCommonExceptions,P_INVALID_NETWORK_STATE,P_INVALID_ASSIGNMENT_ID,P_INVALID_CRITERIA,P_INVALID_EVENT_TYPE);
					
				TpAssignmentID enableNotifications (
					in IpAppDataSessionControlManager appDataSessionControlManager	
					)					
					raises (TpCommonExceptions);
					
				void disableNotifications ()					
					raises (TpCommonExceptions);
					
				TpDataSessionEventCriteriaResultSet getNotifications ()					
					raises (TpCommonExceptions,P_INVALID_NETWORK_STATE);
					
				TpAssignmentID createNotifications (
					in IpAppDataSessionControlManager appDataSessionControlManager,	
					in TpDataSessionEventCriteria eventCriteria	
					)					
					raises (TpCommonExceptions,P_INVALID_NETWORK_STATE,P_INVALID_CRITERIA,P_INVALID_EVENT_TYPE,P_INVALID_INTERFACE_TYPE);
					
			};
			
		};
		
	};
	
};

#endif