1 //Source file: ui_interfaces.idl
3 //User Interaction Interfaces for ETSI ES 203 915-05 V1.1.1, DES/TISPAN-01005-05-OSA, Parlay 5.0
6 #ifndef __UI_INTERFACES_DEFINED
7 #define __UI_INTERFACES_DEFINED
11 #include
"ui_data.idl"
12 #include
"gcc_interfaces.idl"
13 #include
"mpcc_interfaces.idl"
24 enum TpUITargetObjectType
{
26 P_UI_TARGET_OBJECT_CALL
,
27 P_UI_TARGET_OBJECT_MULTI_PARTY_CALL
,
28 P_UI_TARGET_OBJECT_CALL_LEG
32 union TpUITargetObject
switch(TpUITargetObjectType
) {
33 case P_UI_TARGET_OBJECT_CALL
: cc
::gccs
::TpCallIdentifier Call
;
34 case P_UI_TARGET_OBJECT_MULTI_PARTY_CALL
: cc
::mpccs
::TpMultiPartyCallIdentifier MultiPartyCall
;
35 case P_UI_TARGET_OBJECT_CALL_LEG
: cc
::mpccs
::TpCallLegIdentifier CallLeg
;
39 struct TpUIIdentifier
{
41 TpSessionID UserInteractionSessionID
;
45 typedef sequence
<TpUIIdentifier
> TpUIIdentifierSet
;
47 struct TpUICallIdentifier
{
49 TpSessionID UserInteractionSessionID
;
54 interface IpAppUI
: IpInterface
{
56 in TpSessionID userInteractionSessionID
,
57 in TpAssignmentID assignmentID
,
58 in TpUIReport response
62 in TpSessionID userInteractionSessionID
,
63 in TpAssignmentID assignmentID
,
67 void sendInfoAndCollectRes
(
68 in TpSessionID userInteractionSessionID
,
69 in TpAssignmentID assignmentID
,
70 in TpUIReport response
,
71 in TpString collectedInfo
74 void sendInfoAndCollectErr
(
75 in TpSessionID userInteractionSessionID
,
76 in TpAssignmentID assignmentID
,
80 void userInteractionFaultDetected
(
81 in TpSessionID userInteractionSessionID
,
88 interface IpAppUICall
: IpAppUI
{
89 void recordMessageRes
(
90 in TpSessionID userInteractionSessionID
,
91 in TpAssignmentID assignmentID
,
92 in TpUIReport response
,
96 void recordMessageErr
(
97 in TpSessionID userInteractionSessionID
,
98 in TpAssignmentID assignmentID
,
102 void deleteMessageRes
(
103 in TpSessionID usrInteractionSessionID
,
104 in TpUIReport response
,
105 in TpAssignmentID assignmentID
108 void deleteMessageErr
(
109 in TpSessionID usrInteractionSessionID
,
111 in TpAssignmentID assignmentID
114 void abortActionRes
(
115 in TpSessionID userInteractionSessionID
,
116 in TpAssignmentID assignmentID
119 void abortActionErr
(
120 in TpSessionID userInteractionSessionID
,
121 in TpAssignmentID assignmentID
,
126 in TpSessionID userInteractionSessionID
,
127 in TpAssignmentID assignmentID
,
132 in TpSessionID userInteractionSessionID
,
133 in TpAssignmentID assignmentID
,
140 interface IpAppUIManager
: IpInterface
{
141 void userInteractionAborted
(
142 in TpUIIdentifier userInteraction
145 void userInteractionNotificationInterrupted
();
147 void userInteractionNotificationContinued
();
149 IpAppUI reportEventNotification
(
150 in TpUIIdentifier userInteraction
,
151 in TpUIEventNotificationInfo eventNotificationInfo
,
152 in TpAssignmentID assignmentID
155 void abortMultipleUserInteractions
(
156 in TpUIIdentifierSet userInteractionSet
162 interface IpUI
: IpService
{
163 TpAssignmentID sendInfoReq
(
164 in TpSessionID userInteractionSessionID
,
166 in TpLanguage language
,
167 in TpUIVariableInfoSet variableInfo
,
168 in TpInt32 repeatIndicator
,
169 in TpUIResponseRequest responseRequested
171 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_INVALID_NETWORK_STATE
,P_ILLEGAL_ID
,P_ID_NOT_FOUND
);
173 TpAssignmentID sendInfoAndCollectReq
(
174 in TpSessionID userInteractionSessionID
,
176 in TpLanguage language
,
177 in TpUIVariableInfoSet variableInfo
,
178 in TpUICollectCriteria criteria
,
179 in TpUIResponseRequest responseRequested
181 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_INVALID_NETWORK_STATE
,P_ILLEGAL_ID
,P_ID_NOT_FOUND
,P_ILLEGAL_RANGE
,P_INVALID_COLLECTION_CRITERIA
);
184 in TpSessionID userInteractionSessionID
186 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
);
188 void setOriginatingAddress
(
189 in TpSessionID userInteractionSessionID
,
192 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_INVALID_NETWORK_STATE
,P_INVALID_ADDRESS
);
194 TpString getOriginatingAddress
(
195 in TpSessionID userInteractionSessionID
197 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_INVALID_NETWORK_STATE
);
202 interface IpUICall
: IpUI
{
203 TpAssignmentID recordMessageReq
(
204 in TpSessionID userInteractionSessionID
,
206 in TpUIMessageCriteria criteria
208 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_INVALID_NETWORK_STATE
,P_ILLEGAL_ID
,P_ID_NOT_FOUND
,P_INVALID_CRITERIA
);
210 TpAssignmentID deleteMessageReq
(
211 in TpSessionID usrInteractionSessionID
,
214 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_ILLEGAL_ID
,P_ID_NOT_FOUND
);
216 void abortActionReq
(
217 in TpSessionID userInteractionSessionID
,
218 in TpAssignmentID assignmentID
220 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_INVALID_ASSIGNMENT_ID
);
222 TpAssignmentID getMessageReq
(
223 in TpSessionID userInteractionSessionID
,
226 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_INVALID_NETWORK_STATE
,P_ILLEGAL_ID
,P_ID_NOT_FOUND
);
231 interface IpUIManager
: IpService
{
232 TpUIIdentifier createUI
(
234 in TpAddress userAddress
236 raises
(TpCommonExceptions
,P_INVALID_NETWORK_STATE
,P_INVALID_INTERFACE_TYPE
);
238 TpUICallIdentifier createUICall
(
239 in IpAppUICall appUI
,
240 in TpUITargetObject uiTargetObject
242 raises
(TpCommonExceptions
,P_INVALID_NETWORK_STATE
,P_INVALID_INTERFACE_TYPE
);
244 TpAssignmentID createNotification
(
245 in IpAppUIManager appUIManager
,
246 in TpUIEventCriteria eventCriteria
248 raises
(TpCommonExceptions
,P_INVALID_CRITERIA
,P_INVALID_INTERFACE_TYPE
);
250 void destroyNotification
(
251 in TpAssignmentID assignmentID
253 raises
(TpCommonExceptions
,P_INVALID_ASSIGNMENT_ID
);
255 void changeNotification
(
256 in TpAssignmentID assignmentID
,
257 in TpUIEventCriteria eventCriteria
259 raises
(TpCommonExceptions
,P_INVALID_ASSIGNMENT_ID
,P_INVALID_CRITERIA
);
261 TpUIEventCriteriaResultSet getNotification
()
262 raises
(TpCommonExceptions
);
264 TpAssignmentID enableNotifications
(
265 in IpAppUIManager appUIManager
267 raises
(TpCommonExceptions
);
269 void disableNotifications
()
270 raises
(TpCommonExceptions
);
275 interface IpAppUIAdminManager
: IpInterface
{
277 in TpSessionID usrInteractionSessionID
,
278 in TpAssignmentID assignmentID
,
283 in TpSessionID usrInteractionSessionID
,
284 in TpAssignmentID assignmentID
,
288 void deleteMessageRes
(
289 in TpSessionID usrInteractionSessionID
,
290 in TpUIReport response
,
291 in TpAssignmentID assignmentID
294 void deleteMessageErr
(
295 in TpSessionID usrInteractionSessionID
,
297 in TpAssignmentID assignmentID
301 in TpSessionID usrInteractionSessionID
,
302 in TpAssignmentID assignmentID
,
307 in TpSessionID usrInteractionSessionID
,
308 in TpAssignmentID assignmentID
,
312 void getMessageListRes
(
313 in TpSessionID usrInteractionSessionID
,
314 in TpAssignmentID assignmentID
,
315 in TpMessageIDList messageIDList
,
319 void getMessageListErr
(
320 in TpSessionID usrInteractionSessionID
,
321 in TpAssignmentID assignmentID
,
328 interface IpUIAdminManager
: IpService
{
329 TpAssignmentID getMessageReq
(
330 in TpSessionID usrInteractionSessionID
,
333 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_INVALID_NETWORK_STATE
,P_ILLEGAL_ID
,P_ID_NOT_FOUND
);
335 TpAssignmentID putMessageReq
(
336 in TpSessionID usrInteractionSessionID
,
339 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_ILLEGAL_ID
,P_ID_NOT_FOUND
);
341 TpAssignmentID deleteMessageReq
(
342 in TpSessionID usrInteractionSessionID
,
345 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_ILLEGAL_ID
,P_ID_NOT_FOUND
);
347 TpAssignmentID getMessageListReq
(
348 in TpSessionID usrInteractionSessionID
,
351 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_INVALID_NETWORK_STATE
);