SIST ES 204 915-8 V1.1.1:2008
Open Service Access (OSA) - Application Programming Interface (API) - Part 8: Data Session Control SCF (Parlay 6)
- Abstract
ETSI OSA APIs Phase 4. Based on ES 203 915 and the new requirements for OSA Phase 4, to produce ES 204 915 V1.1.1. ETSI OSA Phase 4 incorporates 3GPP OSA Release 7 and is also known as Parlay 6.0.The present document is part 8 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA).
The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs.
The present document specifies the Data Session Control Service Capability Feature (SCF) aspects of the interface. All aspects of the Data Session Control SCF are defined here, these being:
• Sequence Diagrams.
• Class Diagrams.
• Interface specification plus detailed method descriptions.
• State Transition diagrams.
• Data Definitions.
• IDL Description of the interfaces.
• WSDL Description of the interfaces.
The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).
- Status
- Published
- Publication Date
- 02-Jul-2008
- Technical Committee
- SPN - Services and Protocols for Networks
- Current Stage
- 6060 - National Implementation/Publication (Adopted Project)
- Start Date
- 11-Jun-2008
- Due Date
- 16-Aug-2008
- Completion Date
- 03-Jul-2008
Buy Documents
ETSI ES 204 915-8 V1.1.1 (2008-02) - Open Service Access (OSA); Application Programming Interface (API); Part 8: Data Session Control SCF (Parlay 6)
ETSI ES 204 915-8 V1.1.1 (2008-05) - Open Service Access (OSA); Application Programming Interface (API); Part 8: Data Session Control SCF (Parlay 6)
SIST ES 204 915-8 V1.1.1:2008 is the SIST publication of the ETSI Open Service Access (OSA) Application Programming Interface (API), Part 8: Data Session Control SCF (Parlay 6). It specifies how applications use an open standardized interface to create, monitor, supervise, charge, and release data sessions, with interfaces described in UML, IDL, WSDL, and Java API form for application developers and network service implementers.
What does SIST ES 204 915-8 V1.1.1:2008 specify?
SIST ES 204 915-8 V1.1.1:2008 specifies the Data Session Control Service Capability Feature (SCF) within the OSA API. It focuses on the service and application interfaces used to control a data session on a per-session basis, including event notifications, supervision, release, and charging-related functions.
The document is organized into clauses for scope, references, definitions and abbreviations, the SCF overview, sequence diagrams, class diagrams, service interface specifications, interface classes, state transition diagrams, service properties, and data definitions. It also includes annexes that provide language-specific interface descriptions, a Java API realization, and background material for 3GPP and 3GPP2 use.
| Annex | What it covers |
|---|---|
| Annex A, normative | OMG IDL description of the Data Session Control SCF |
| Annex B, informative | W3C WSDL description of the Data Session Control SCF |
| Annex C, informative | Java™ API description of the Data Session Control SCF |
| Annex D, informative | Contents of 3GPP OSA R7 Data Session Control |
| Annex E, informative | Data Session Control for 3GPP2 cdma2000 networks |
| Annex F, informative | Record of changes |
What are the key requirements of SIST ES 204 915-8 V1.1.1:2008?
SIST ES 204 915-8 V1.1.1:2008 defines a two-part session model: an IpDataSessionControlManager manages notifications and a Data Session, and an IpDataSession controls the session itself. One Data Session Manager controls one or more sessions, but a session is controlled by only one manager. In practice, this means the application must separate notification handling from session control actions.
Session control and lifecycle
Clause 8 states that the Data Session Control SCF models a data connection or session, including cases such as a PDP context in GPRS. The document explicitly treats terminal location as handled by the underlying network, so it is outside the session model. For implementers, this means the API is about session setup, supervision, and release, not about terminal mobility handling.
The IpDataSession interface has a minimum set of methods that must be implemented: connectReq(), release(), deassignDataSession(), and continueProcessing(). connectReq() starts establishment toward a destination address, release() ends the session, deassignDataSession() removes the application’s control while leaving the session running, and continueProcessing() resumes after an interruption. These are the core actions an application uses to drive session state.
Notification handling
The manager side offers two notification paths. createNotifications() is for application-requested event criteria, while enableNotifications() is for notifications provisioned from within the network. destroyNotification(), changeNotification(), getNotifications(), and disableNotifications() manage those requests as defined for the manager interface.
The event model uses monitor modes: interrupt, notify, and do not monitor. In interrupt mode, the SCF intercepts the event and pauses establishment until the application acts; in notify mode, the application is informed and establishment continues. This distinction matters because interrupt mode gives the application control of the session, while notify mode only reports the event.
The document also states that overlapping notification requests can be refused with P_INVALID_CRITERIA, and repeated requests with the same criteria may share an assignment ID while adding callback references. Unsupported service methods return P_METHOD_NOT_SUPPORTED, while unsupported application methods remain callable without an exception. This is important for interoperability because clients must handle partial support cleanly.
Charging and supervision
The IpDataSession interface includes superviseDataSessionReq(), setDataSessionChargePlan(), and setAdviceOfCharge(). Supervision lets the application set a granted volume and define what happens when that volume is reached, while charge-plan methods let the application influence charging information and the end-user advice of charge. In practice, these methods are the link between session control and billing behavior.
The data definitions show that supervision can request release, response, or information behavior when volume limits are reached. The report types and fault types also support cases such as disconnection, timeout on release, and timeout on interrupt. That gives implementers a structured way to handle end-of-session reporting and abnormal termination.
Interface and callback rules
Clause 7 defines the interface format and callback mechanism. Service interfaces use Ip<name> naming, application callback interfaces use IpApp<name>, and asynchronous requests use Req with matching Res or Err callbacks where applicable. IpService provides setCallback() and setCallbackWithSessionID() so the service can call back into the application.
These callback rules matter because the service keeps the most recent valid callback reference and falls back to earlier ones if needed. For session-based interactions, setCallbackWithSessionID() ties callbacks to a specific TpSessionID. That prevents confusion when several sessions are active at the same time.
What terms does SIST ES 204 915-8 V1.1.1:2008 define?
SIST ES 204 915-8 V1.1.1:2008 uses the definitions from ES 204 915-1 and adds a focused set of Data Session Control terms and abbreviations.
- Open Service Access (OSA) - the architecture that lets application developers use network functionality through an open standardized interface.
- Application Programming Interface (API) - the programming interface described by the standard for service access.
- Service Capability Feature (SCF) - a service capability defined through interfaces, methods, and data types.
- Unified Modelling Language (UML) - the object modelling notation used for diagrams, state models, and interface descriptions.
- Interface Definition Language (IDL) - the language-neutral interface description used in Annex A.
- Web Services Description Language (WSDL) - the web service description format used in Annex B.
- Advice of Charge (AoC) - charging information sent to the end-user terminal.
- Quality of Service (QoS) - the session quality class reported or negotiated during session handling.
Who uses SIST ES 204 915-8 V1.1.1:2008?
SIST ES 204 915-8 V1.1.1:2008 is used by application developers who need to start, monitor, and release data sessions through a telecom service API. It is also used by service platform and gateway implementers who provide the IpDataSession and IpDataSessionControlManager interfaces.
Operators and network integrators use it when they provision event notifications, control charging behavior, or connect application logic to network-triggered session events. Billing and charging teams use the charging-related data definitions and methods, especially where session volume or advice of charge information must be exposed to the application or end user.
What changed in SIST ES 204 915-8 V1.1.1:2008 from the previous edition?
SIST ES 204 915-8 V1.1.1:2008 is identified as the Parlay 6.0 version of the Data Session Control SCF and is equivalent to 3GPP TS 29.198-8 V7.0.0 (Release 7). The record of changes notes that IpDataSessionControlManager.createNotification() had already been deprecated and was deleted at the start of Parlay 6.0.
Which standards are used with SIST ES 204 915-8 V1.1.1:2008?
SIST ES 204 915-8 V1.1.1:2008 references ETSI ES 204 915-1 for the overview, shared terms, and abbreviations. It also depends on the common data definitions in ETSI ES 204 915-2, which are used wherever this part refers to data types not defined here.
The data definition for TpDataSessionReleaseCause uses the value and location coding from ITU-T Recommendation Q.850. The document is also aligned with 3GPP TS 29.198-8 V7.0.0, and Annex D ties the content to 3GPP OSA Release 7.
What does the SIST ES 204 915-8 V1.1.1:2008 document contain?
SIST ES 204 915-8 V1.1.1:2008 contains sequence diagrams for network-controlled notifications, enabling notifications, and address translation with charging. It also includes a class diagram showing the relationships between IpAppDataSession, IpAppDataSessionControlManager, IpDataSession, IpDataSessionControlManager, IpInterface, and IpService.
The document provides detailed method descriptions, state transition diagrams for IpDataSession, and service properties that constrain notification ranges, monitor modes, address plans, and charge-plan permissions. It also defines the data types used for event criteria, reports, errors, supervision, release causes, and charge plans.
Annex A supplies the normative OMG IDL file, Annex B supplies W3C WSDL, and Annex C supplies Java™ API realizations for J2SE™ and J2EE™. Annex F records interface, method, data definition, property, and exception changes for the Parlay 6.0 version.
Buy Documents
ETSI ES 204 915-8 V1.1.1 (2008-02) - Open Service Access (OSA); Application Programming Interface (API); Part 8: Data Session Control SCF (Parlay 6)
ETSI ES 204 915-8 V1.1.1 (2008-05) - Open Service Access (OSA); Application Programming Interface (API); Part 8: Data Session Control SCF (Parlay 6)
Get Certified
Connect with accredited certification bodies for this standard

BSI Group
BSI (British Standards Institution) is the business standards company that helps organizations make excellence a habit.

NYCE
Mexican standards and certification body.
Sponsored listings
Frequently Asked Questions
SIST ES 204 915-8 V1.1.1:2008 is a standard published by the Slovenian Institute for Standardization (SIST). Its full title is "Open Service Access (OSA) - Application Programming Interface (API) - Part 8: Data Session Control SCF (Parlay 6)". This standard covers: ETSI OSA APIs Phase 4. Based on ES 203 915 and the new requirements for OSA Phase 4, to produce ES 204 915 V1.1.1. ETSI OSA Phase 4 incorporates 3GPP OSA Release 7 and is also known as Parlay 6.0.The present document is part 8 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA). The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs. The present document specifies the Data Session Control Service Capability Feature (SCF) aspects of the interface. All aspects of the Data Session Control SCF are defined here, these being: • Sequence Diagrams. • Class Diagrams. • Interface specification plus detailed method descriptions. • State Transition diagrams. • Data Definitions. • IDL Description of the interfaces. • WSDL Description of the interfaces. The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).
ETSI OSA APIs Phase 4. Based on ES 203 915 and the new requirements for OSA Phase 4, to produce ES 204 915 V1.1.1. ETSI OSA Phase 4 incorporates 3GPP OSA Release 7 and is also known as Parlay 6.0.The present document is part 8 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA). The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs. The present document specifies the Data Session Control Service Capability Feature (SCF) aspects of the interface. All aspects of the Data Session Control SCF are defined here, these being: • Sequence Diagrams. • Class Diagrams. • Interface specification plus detailed method descriptions. • State Transition diagrams. • Data Definitions. • IDL Description of the interfaces. • WSDL Description of the interfaces. The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).
SIST ES 204 915-8 V1.1.1:2008 is classified under the following ICS (International Classification for Standards) categories: 35.100.01 - Open systems interconnection in general. The ICS classification helps identify the subject area and facilitates finding related standards.
SIST ES 204 915-8 V1.1.1:2008 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.
Standards Content (Sample)
Contents
- 1 Scope
- 2 References
- 3 Definitions and abbreviations
- 3.1 Definitions
- 3.2 Abbreviations
- 8 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 4 Data Session Control SCF
- 9 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 4.1 General requirements on support of methods
- 5 Sequence Diagrams
- 5.1 Network Controlled Notifications
- 10 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 5.2 Enable Data Session Notification
- 11 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 5.3 Address Translation With Charging
- 12 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 6 Class Diagrams
- 13 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 7 The Service Interface Specifications
- 7.1 Interface Specification Format
- 7.2 Base Interface
- 14 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 7.3 Service Interfaces
- 7.4 Generic Service Interface
- 15 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 8 Data Session Control Interface Classes
- 8.1 Interface Class IpAppDataSession
- 16 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 17 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 8.2 Interface Class IpAppDataSessionControlManager
- 18 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 19 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 8.3 Interface Class IpDataSession
- 20 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 21 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 22 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 8.4 Interface Class IpDataSessionControlManager
- 23 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 24 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 25 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 9 State Transition Diagrams
- 9.1 State Transition Diagrams for IpDataSession
- 26 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 27 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 10 Data Session Control Service Properties
- 28 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 11 Data Definitions
- 11.1 Data Session Control Data Definitions
- 29 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 11.2 Event Notification data definitions
- 30 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 31 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 32 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 33 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 34 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 35 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 36 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 37 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 38 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 39 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 40 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 41 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 42 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 43 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 44 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
- 45 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
1 Scope
The present document is part 8 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA).
The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs.
The present document specifies the Data Session Control Service Capability Feature (SCF) aspects of the interface. All aspects of the Data Session Control SCF are defined here, these being:
- Sequence Diagrams.
- Class Diagrams.
- Interface specification plus detailed method descriptions.
- State Transition diagrams.
- Data Definitions.
- IDL Description of the interfaces.
- WSDL Description of the interfaces.
The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).
2 References
The references listed in clause 2 of ES 204 915-1 contain provisions which, through reference in this text, constitute provisions of the present document.
ETSI ES 204 915-1: "Open Service Access (OSA); Application Programming Interface (API); Part 1: Overview (Parlay 6)".
3 Definitions and abbreviations
3.1 Definitions
For the purposes of the present document, the terms and definitions given in ES 204 915-1 apply.
3.2 Abbreviations
For the purposes of the present document, the abbreviations given in ES 204 915-1 apply. ETSI
8 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
4 Data Session Control SCF
The Data Session control network service capability feature consists of two interfaces:
1) Data Session manager, containing management functions for data session related issues; 2) Data Session, containing methods to control a session.
A session can be controlled by one Data Session Manager only. Data Session Manager can control several sessions.
Data Session Data Session 1 n Manager
NOTE: The term "data session" is used in a broad sense to describe a data connection/session. For example, it comprises a PDP context in GPRS.
Figure 1: Data Session control interfaces usage relationship The Data Session Control service capability features are described in terms of the methods in the Data Session Control interfaces. Table 1 gives an overview of the Data Session Control methods and to which interfaces these methods belong.
Table 1: Overview of Data Session Control interfaces and their methods Data Session Manager Data Session createNotifications connectReq destroyNotification connectRes dataSessionNotificationInterrupted connectErr dataSessionNotificationContinued release reportNotification superviseDataSessionReq dataSessionAborted superviseDataSessionRes getNotifications superviseDataSessionErr changeNotification dataSessionFaultDetected enableNotifications setAdviceofCharge disableNotifications setDataSessionChargePlan
The session manager interface provides the management functions to the data session service capability features. The application programmer can use this interface to enable or disable data session-related event notifications. The following clauses describe each aspect of the Data Session Control Service Capability Feature (SCF). The order is as follows:
- The Sequence diagrams give the reader a practical idea of how each of the SCF is implemented.
- The Class relationships clause shows how each of the interfaces applicable to the SCF, relate to one another.
- The Interface specification clause describes in detail each of the interfaces shown within the Class diagram part.
- The State Transition Diagrams (STD) show the transition between states in the SCF. The states and transitions are well-defined; either methods specified in the Interface specification or events occurring in the underlying networks cause state transitions.
- The Data Definitions clause shows a detailed expansion of each of the data types associated with the methods within the classes. Note that some data types are used in other methods and classes and are therefore defined within the Common Data types part ES 204 915-2.
ETSI
9 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
4.1 General requirements on support of methods
An implementation of this API which supports or implements a method described in the present document, shall support or implement the functionality described for that method, for at least one valid set of values for the parameters of that method.
Where a method is not supported by an implementation of a Service interface, the exception P_METHOD_NOT_SUPPORTED shall be returned to any call of that method. Where a method is not supported by an implementation of an Application interface, a call to that method shall be possible, and no exception shall be returned.
5 Sequence Diagrams
5.1 Network Controlled Notifications
The following sequence diagram shows how an application can receive notifications that have not been created by the application, but are provisioned from within the network.
AppLogic : :
IpAppDataSessionControlManager IpDataSessionControlManager 1: new ( ) 2: enableNotifications( ) 3: reportNotification( ) 4: 'forward event' 5: reportNotification( ) 6: 'forward event' 7: disableNotifications( )
1: The application is started. The application creates a new IpAppDataSessionControlManager to handle callbacks.
ETSI
10 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
2: The enableNotifications method is invoked on the IpDataSessionControlManager interface to indicate that the application is ready to receive notifications that are created in the network. For illustrative purposes we assume notifications of type "B" are created in the network.
3: When a network created trigger occurs the application is notified on the callback interface. 4: The event is forwarded to the application.
5: When a network created trigger occurs the application is notified on the callback interface. 6: The event is forwarded to the application.
7: When the application does not want to receive notifications created in the network anymore, it invokes disableNotifications on the IpDataSessionControlManager interface. From now on the gateway will not send any notifications to the application that are created in the network. The application will still receive notifications that it has created itself until the application removes them.
5.2 Enable Data Session Notification
Application Data Session Manager : Data Session :
IpDataSessionControlManager IpDataSes sion 1: createNotifications( )
ETSI
11 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
5.3 Address Translation With Charging
Application Data Session Manager : Data Session :
IpDataSessionControlManager IpDat aSessi on 1: createNotifications( ) 2: reportNotification() 3: 'translate address' 4: setCallback( ) 5: superviseDataSessionReq( ) 6: connectReq( ) 7: superviseDataSessionRes() 8: superviseDataSessionReq( ) 9: superviseDataSessionRes() 10: ConnectRes( )
ETSI
12 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
6 Class Diagrams
Data Session Control Class Diagram:
<<Interface>> IpInterface (from csapi) <<Interface>> <<Interface>> IpAppDataSessionControlManager IpAppDataSession (from dsc) (from dsc) dataSessionAborted() connectRes() 101 0....nn reportNotification() connectErr() dataSessionNotificationContinued() superviseDataSessionRes() dataSessionNotificationInterrupted() superviseDataSessionErr() abortMultipleDataSessions() dataSessionFaultDetected() <<uses>> <<uses>> <<Interface>> <<Interface>> IpDataSession IpDataSessionControlManager (from dsc) (from dsc) connectReq() destroyNotification() release() changeNotification() 11 00..n..n superviseDataSessionReq() enableNotifications() setDataSessionChargePlan() disableNotifications() setAdviceOfCharge() getNotifications() deassignDataSession() createNotifications() continueProcessing() <<Interface>> IpService (from csapi) setCallback() setCallbackWithSessionID()
Figure 2: Package Overview ETSI
13 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
7 The Service Interface Specifications
7.1 Interface Specification Format
This clause defines the interfaces, methods and parameters that form a part of the API specification. The Unified Modelling Language (UML) is used to specify the interface classes. The general format of an interface specification is described below.
7.1.1 Interface Class
This shows a UML interface class description of the methods supported by that interface, and the relevant parameters and types. The Service and Framework interfaces for enterprise-based client applications are denoted by classes with name Ip<name>. The callback interfaces to the applications are denoted by classes with name IpApp<name>. For the interfaces between a Service and the Framework, the Service interfaces are typically denoted by classes with name IpSvc<name>, while the Framework interfaces are denoted by classes with name IpFw<name>.
7.1.2 Method descriptions
Each method (API method “call”) is described. Both synchronous and asynchronous methods are used in the API. Asynchronous methods are identified by a 'Req' suffix for a method request, and, if applicable, are served by asynchronous methods identified by either a 'Res' or 'Err' suffix for method results and errors, respectively. To handle responses and reports, the application or service developer must implement the relevant IpApp<name> or IpSvc<name> interfaces to provide the callback mechanism.
7.1.3 Parameter descriptions
Each method parameter and its possible values are described. Parameters described as 'in' represent those that must have a value when the method is called. Those described as 'out' are those that contain the return result of the method when the method returns.
7.1.4 State Model
If relevant, a state model is shown to illustrate the states of the objects that implement the described interface.
7.2 Base Interface
7.2.1 Interface Class IpInterface
All application, framework and service interfaces inherit from the following interface. This API Base Interface does not provide any additional methods.
<<Interface>> IpInterface
ETSI
14 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
7.3 Service Interfaces
7.3.1 Overview
The Service Interfaces provide the interfaces into the capabilities of the underlying network - such as call control, user interaction, messaging, mobility and connectivity management.
The interfaces that are implemented by the services are denoted as 'Service Interface'. The corresponding interfaces that must be implemented by the application (e.g. for API callbacks) are denoted as 'Application Interface'.
7.4 Generic Service Interface
7.4.1 Interface Class IpService
Inherits from: IpInterface; All service interfaces inherit from the following interface.
<<Interface>> IpService
setCallback (appInterface : in IpInterfaceRef) : void setCallbackWithSessionID (appInterface : in IpInterfaceRef, sessionID : in TpSessionID) : void
7.4.1.1 Method setCallback()
This method specifies the reference address of the callback interface that a service uses to invoke methods on the application. It is not allowed to invoke this method on an interface that uses SessionIDs. Multiple invocations of this method on an interface shall result in multiple callback references being specified. The SCS shall use the most recent callback interface provided by the application using this method. In the event that a callback reference fails or is no longer available, the next most recent callback reference available shall be used. Parameters appInterface : in IpInterfaceRef Specifies a reference to the application interface, which is used for callbacks. Raises TpCommonExceptions, P_INVALID_INTERFACE_TYPE
7.4.1.2 Method setCallbackWithSessionID()
This method specifies the reference address of the application's callback interface that a service uses for interactions associated with a specific session ID: e.g. a specific call, or call leg. It is not allowed to invoke this method on an interface that does not use SessionIDs. Multiple invocations of this method on an interface shall result in multiple callback references being specified. The SCS shall use the most recent callback interface provided by the application using this method. In the event that a callback reference fails or is no longer available, the next most recent callback reference available shall be used.
ETSI
15 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
Parameters appInterface : in IpInterfaceRef Specifies a reference to the application interface, which is used for callbacks. sessionID : in TpSessionID Specifies the session for which the service can invoke the application's callback interface. Raises TpCommonExceptions, P_INVALID_SESSION_ID, P_INVALID_INTERFACE_TYPE
8 Data Session Control Interface Classes
The Data Session Control provides a means to control per data session basis the establishment of a new data session. This means especially in the GPRS context that the establishment of a PDP session is modelled not the attach/detach mode. Change of terminal location is assumed to be managed by the underlying network and is therefore not part of the model. The underlying assumption is that a terminal initiates a data session and the application can reject the request for data session establishment, can continue the establishment or can continue and change the destination as requested by the terminal.
The modelling is similar to the Generic Call Control but assumes a simpler underlying state model. An IpDataSessionControlManager object and an IpDataSession object are the interfaces used by the application, whereas the IpAppDataSessionControlManager and the IpAppDataSession interfaces are implemented by the application.
8.1 Interface Class IpAppDataSession
Inherits from: IpInterface.
The application side of the data session interface is used to handle data session request responses and state reports. <<Interface>> IpAppDataSession
connectRes (dataSessionID : in TpSessionID, eventReport : in TpDataSessionReport, assignmentID : in TpAssignmentID) : void connectErr (dataSessionID : in TpSessionID, errorIndication : in TpDataSessionError, assignmentID : in TpAssignmentID) : void superviseDataSessionRes (dataSessionID : in TpSessionID, report : in TpDataSessionSuperviseReport, usedVolume : in TpDataSessionSuperviseVolume, qualityOfService : in TpDataSessionQosClass) : void superviseDataSessionErr (dataSessionID : in TpSessionID, errorIndication : in TpDataSessionError) : void dataSessionFaultDetected (dataSessionID : in TpSessionID, fault : in TpDataSessionFault) : void
ETSI
16 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
8.1.1 Method connectRes()
This asynchronous method indicates that the request to connect a data session with the destination party was successful, and indicates the response of the destination party (e.g. connected, disconnected). Parameters dataSessionID : in TpSessionID Specifies the session ID of the data session.
eventReport : in TpDataSessionReport Specifies the result of the request to connect the data session. It includes the network event, date and time, monitoring mode, negotiated quality of service and event specific information such as release cause. assignmentID : in TpAssignmentID
8.1.2 Method connectErr()
This asynchronous method indicates that the request to connect a data session with the destination party was unsuccessful, e.g. an error detected in the network or the data session was abandoned. Parameters dataSessionID : in TpSessionID Specifies the session ID.
errorIndication : in TpDataSessionError Specifies the error which led to the original request failing. assignmentID : in TpAssignmentID
8.1.3 Method superviseDataSessionRes()
This asynchronous method reports a data session supervision event to the application. In addition, it may also be used to notify the application of a newly negotiated set of Quality of Service parameters during the active life of the data session.
Parameters dataSessionID : in TpSessionID Specifies the data session.
report : in TpDataSessionSuperviseReport Specifies the situation, which triggered the sending of the data session supervision response. usedVolume : in TpDataSessionSuperviseVolume Specifies the used volume for the data session supervision (in the same unit as specified in the request). qualityOfService : in TpDataSessionQosClass Specifies the newly negotiated Quality of Service parameters for the data session. ETSI
17 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
8.1.4 Method superviseDataSessionErr()
This asynchronous method reports a data session supervision error to the application. Parameters dataSessionID : in TpSessionID Specifies the data session ID.
errorIndication : in TpDataSessionError Specifies the error which led to the original request failing.
8.1.5 Method dataSessionFaultDetected()
This method indicates to the application that a fault in the network has been detected which cannot be communicated by a network event, e.g. when the user aborts before any establishment method is called by the application. The system purges the Data Session object. Therefore, the application has no further control of data session processing. No report will be forwarded to the application.
Parameters dataSessionID : in TpSessionID Specifies the data session ID of the Data Session object in which the fault has been detected. fault : in TpDataSessionFault Specifies the fault that has been detected.
8.2 Interface Class IpAppDataSessionControlManager
Inherits from: IpInterface.
The data session control manager application interface provides the application data session control management functions to the data session control SCF.
<<Interface>> IpAppDataSessionControlManager
dataSessionAborted (dataSession : in TpSessionID) : void reportNotification (dataSessionReference : in TpDataSessionIdentifier, eventInfo : in TpDataSessionEventInfo, assignmentID : in TpAssignmentID) : IpAppDataSessionRef dataSessionNotificationContinued () : void dataSessionNotificationInterrupted () : void abortMultipleDataSessions (dataSessionSet : in TpSessionIDSet) : void
ETSI
18 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
8.2.1 Method dataSessionAborted()
This method indicates to the application that the Data Session object has aborted or terminated abnormally. No further communication will be possible between the Data Session object and the application. Parameters dataSession : in TpSessionID Specifies the session ID of the data session that has aborted or terminated abnormally.
8.2.2 Method reportNotification()
This method notifies the application of the arrival of a data session-related event. If this method is invoked with a monitor mode of P_DATA_SESSION_MONITOR_MODE_INTERRUPT, then the application has control of the data session. If the application does nothing with the data session within a specified time period (the duration of which forms a part of the service level agreement), then the data session in the network shall be released and dataSessionFaultDetected() shall be invoked, giving a fault code of P_DATA_SESSION_TIMEOUT_ON_INTERRUPT.
Returns appDataSession : Specifies a reference to the application object which implements the callback interface for the new data session. If the application has previously explicitly passed a reference to the IpAppDataSession interface using a setCallbackWithSessionID() invocation, this parameter may be null, or if supplied must be the same as that provided during the setCallbackWithSessionID().
...
Contents
- 1 Scope
- 2 References
- 3 Definitions and abbreviations
- 3.1 Definitions
- 3.2 Abbreviations
- 8 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 4 Data Session Control SCF
- 9 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 4.1 General requirements on support of methods
- 5 Sequence Diagrams
- 5.1 Network Controlled Notifications
- 10 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 5.2 Enable Data Session Notification
- 11 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 5.3 Address Translation With Charging
- 12 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 6 Class Diagrams
- 13 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 7 The Service Interface Specifications
- 7.1 Interface Specification Format
- 7.2 Base Interface
- 14 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 7.3 Service Interfaces
- 7.4 Generic Service Interface
- 15 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 8 Data Session Control Interface Classes
- 8.1 Interface Class IpAppDataSession
- 16 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 17 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 8.2 Interface Class IpAppDataSessionControlManager
- 18 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 19 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 8.3 Interface Class IpDataSession
- 20 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 21 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 22 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 8.4 Interface Class IpDataSessionControlManager
- 23 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 24 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 25 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 9 State Transition Diagrams
- 9.1 State Transition Diagrams for IpDataSession
- 26 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 27 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 10 Data Session Control Service Properties
- 28 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 11 Data Definitions
- 11.1 Data Session Control Data Definitions
- 29 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 11.2 Event Notification data definitions
- 30 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 31 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 32 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 33 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 34 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 35 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 36 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 37 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 38 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 39 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 40 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 41 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 42 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 43 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 44 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 45 ETSI ES 204 915-8 V1.1.1 (2008-05)
1 Scope
The present document is part 8 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA).
The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs.
The present document specifies the Data Session Control Service Capability Feature (SCF) aspects of the interface. All aspects of the Data Session Control SCF are defined here, these being:
- Sequence Diagrams.
- Class Diagrams.
- Interface specification plus detailed method descriptions.
- State Transition diagrams.
- Data Definitions.
- IDL Description of the interfaces.
- WSDL Description of the interfaces.
The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).
2 References
The references listed in clause 2 of ES 204 915-1 contain provisions which, through reference in this text, constitute provisions of the present document.
ETSI ES 204 915-1: "Open Service Access (OSA); Application Programming Interface (API); Part 1: Overview (Parlay 6)".
3 Definitions and abbreviations
3.1 Definitions
For the purposes of the present document, the terms and definitions given in ES 204 915-1 apply.
3.2 Abbreviations
For the purposes of the present document, the abbreviations given in ES 204 915-1 apply. ETSI
8 ETSI ES 204 915-8 V1.1.1 (2008-05)
4 Data Session Control SCF
The Data Session control network service capability feature consists of two interfaces:
1) Data Session manager, containing management functions for data session related issues; 2) Data Session, containing methods to control a session.
A session can be controlled by one Data Session Manager only. Data Session Manager can control several sessions.
Data Session Data Session 1 n Manager
NOTE: The term "data session" is used in a broad sense to describe a data connection/session. For example, it comprises a PDP context in GPRS.
Figure 1: Data Session control interfaces usage relationship The Data Session Control service capability features are described in terms of the methods in the Data Session Control interfaces. Table 1 gives an overview of the Data Session Control methods and to which interfaces these methods belong.
Table 1: Overview of Data Session Control interfaces and their methods Data Session Manager Data Session createNotifications connectReq destroyNotification connectRes dataSessionNotificationInterrupted connectErr dataSessionNotificationContinued release reportNotification superviseDataSessionReq dataSessionAborted superviseDataSessionRes getNotifications superviseDataSessionErr changeNotification dataSessionFaultDetected enableNotifications setAdviceofCharge disableNotifications setDataSessionChargePlan
The session manager interface provides the management functions to the data session service capability features. The application programmer can use this interface to enable or disable data session-related event notifications. The following clauses describe each aspect of the Data Session Control Service Capability Feature (SCF). The order is as follows:
- The Sequence diagrams give the reader a practical idea of how each of the SCF is implemented.
- The Class relationships clause shows how each of the interfaces applicable to the SCF, relate to one another.
- The Interface specification clause describes in detail each of the interfaces shown within the Class diagram part.
- The State Transition Diagrams (STD) show the transition between states in the SCF. The states and transitions are well-defined; either methods specified in the Interface specification or events occurring in the underlying networks cause state transitions.
- The Data Definitions clause shows a detailed expansion of each of the data types associated with the methods within the classes. Note that some data types are used in other methods and classes and are therefore defined within the Common Data types part ES 204 915-2.
ETSI
9 ETSI ES 204 915-8 V1.1.1 (2008-05)
4.1 General requirements on support of methods
An implementation of this API which supports or implements a method described in the present document, shall support or implement the functionality described for that method, for at least one valid set of values for the parameters of that method.
Where a method is not supported by an implementation of a Service interface, the exception P_METHOD_NOT_SUPPORTED shall be returned to any call of that method. Where a method is not supported by an implementation of an Application interface, a call to that method shall be possible, and no exception shall be returned.
5 Sequence Diagrams
5.1 Network Controlled Notifications
The following sequence diagram shows how an application can receive notifications that have not been created by the application, but are provisioned from within the network.
AppLogic : :
IpAppDataSessionControlManager IpDataSessionControlManager 1: new ( ) 2: enableNotifications( ) 3: reportNotification( ) 4: 'forward event' 5: reportNotification( ) 6: 'forward event' 7: disableNotifications( )
1: The application is started. The application creates a new IpAppDataSessionControlManager to handle callbacks.
ETSI
10 ETSI ES 204 915-8 V1.1.1 (2008-05)
2: The enableNotifications method is invoked on the IpDataSessionControlManager interface to indicate that the application is ready to receive notifications that are created in the network. For illustrative purposes we assume notifications of type "B" are created in the network.
3: When a network created trigger occurs the application is notified on the callback interface. 4: The event is forwarded to the application.
5: When a network created trigger occurs the application is notified on the callback interface. 6: The event is forwarded to the application.
7: When the application does not want to receive notifications created in the network anymore, it invokes disableNotifications on the IpDataSessionControlManager interface. From now on the gateway will not send any notifications to the application that are created in the network. The application will still receive notifications that it has created itself until the application removes them.
5.2 Enable Data Session Notification
Application Data Session Manager : Data Session :
IpDataSessionControlManager IpDataSes sion 1: createNotifications( )
ETSI
11 ETSI ES 204 915-8 V1.1.1 (2008-05)
5.3 Address Translation With Charging
Application Data Session Manager : Data Session :
IpDataSessionControlManager IpDat aSessi on 1: createNotifications( ) 2: reportNotification() 3: 'translate address' 4: setCallback( ) 5: superviseDataSessionReq( ) 6: connectReq( ) 7: superviseDataSessionRes() 8: superviseDataSessionReq( ) 9: superviseDataSessionRes() 10: ConnectRes( )
ETSI
12 ETSI ES 204 915-8 V1.1.1 (2008-05)
6 Class Diagrams
Data Session Control Class Diagram:
<<Interface>> IpInterface (from csapi) <<Interface>> <<Interface>> IpAppDataSessionControlManager IpAppDataSession (from dsc) (from dsc) dataSessionAborted() connectRes() 101 0....nn reportNotification() connectErr() dataSessionNotificationContinued() superviseDataSessionRes() dataSessionNotificationInterrupted() superviseDataSessionErr() abortMultipleDataSessions() dataSessionFaultDetected() <<uses>> <<uses>> <<Interface>> <<Interface>> IpDataSession IpDataSessionControlManager (from dsc) (from dsc) connectReq() destroyNotification() release() changeNotification() 11 00..n..n superviseDataSessionReq() enableNotifications() setDataSessionChargePlan() disableNotifications() setAdviceOfCharge() getNotifications() deassignDataSession() createNotifications() continueProcessing() <<Interface>> IpService (from csapi) setCallback() setCallbackWithSessionID()
Figure 2: Package Overview ETSI
13 ETSI ES 204 915-8 V1.1.1 (2008-05)
7 The Service Interface Specifications
7.1 Interface Specification Format
This clause defines the interfaces, methods and parameters that form a part of the API specification. The Unified Modelling Language (UML) is used to specify the interface classes. The general format of an interface specification is described below.
7.1.1 Interface Class
This shows a UML interface class description of the methods supported by that interface, and the relevant parameters and types. The Service and Framework interfaces for enterprise-based client applications are denoted by classes with name Ip<name>. The callback interfaces to the applications are denoted by classes with name IpApp<name>. For the interfaces between a Service and the Framework, the Service interfaces are typically denoted by classes with name IpSvc<name>, while the Framework interfaces are denoted by classes with name IpFw<name>.
7.1.2 Method descriptions
Each method (API method “call”) is described. Both synchronous and asynchronous methods are used in the API. Asynchronous methods are identified by a 'Req' suffix for a method request, and, if applicable, are served by asynchronous methods identified by either a 'Res' or 'Err' suffix for method results and errors, respectively. To handle responses and reports, the application or service developer must implement the relevant IpApp<name> or IpSvc<name> interfaces to provide the callback mechanism.
7.1.3 Parameter descriptions
Each method parameter and its possible values are described. Parameters described as 'in' represent those that must have a value when the method is called. Those described as 'out' are those that contain the return result of the method when the method returns.
7.1.4 State Model
If relevant, a state model is shown to illustrate the states of the objects that implement the described interface.
7.2 Base Interface
7.2.1 Interface Class IpInterface
All application, framework and service interfaces inherit from the following interface. This API Base Interface does not provide any additional methods.
<<Interface>> IpInterface
ETSI
14 ETSI ES 204 915-8 V1.1.1 (2008-05)
7.3 Service Interfaces
7.3.1 Overview
The Service Interfaces provide the interfaces into the capabilities of the underlying network - such as call control, user interaction, messaging, mobility and connectivity management.
The interfaces that are implemented by the services are denoted as 'Service Interface'. The corresponding interfaces that must be implemented by the application (e.g. for API callbacks) are denoted as 'Application Interface'.
7.4 Generic Service Interface
7.4.1 Interface Class IpService
Inherits from: IpInterface; All service interfaces inherit from the following interface.
<<Interface>> IpService
setCallback (appInterface : in IpInterfaceRef) : void setCallbackWithSessionID (appInterface : in IpInterfaceRef, sessionID : in TpSessionID) : void
7.4.1.1 Method setCallback()
This method specifies the reference address of the callback interface that a service uses to invoke methods on the application. It is not allowed to invoke this method on an interface that uses SessionIDs. Multiple invocations of this method on an interface shall result in multiple callback references being specified. The SCS shall use the most recent callback interface provided by the application using this method. In the event that a callback reference fails or is no longer available, the next most recent callback reference available shall be used. Parameters appInterface : in IpInterfaceRef Specifies a reference to the application interface, which is used for callbacks. Raises TpCommonExceptions, P_INVALID_INTERFACE_TYPE
7.4.1.2 Method setCallbackWithSessionID()
This method specifies the reference address of the application's callback interface that a service uses for interactions associated with a specific session ID: e.g. a specific call, or call leg. It is not allowed to invoke this method on an interface that does not use SessionIDs. Multiple invocations of this method on an interface shall result in multiple callback references being specified. The SCS shall use the most recent callback interface provided by the application using this method. In the event that a callback reference fails or is no longer available, the next most recent callback reference available shall be used.
ETSI
15 ETSI ES 204 915-8 V1.1.1 (2008-05)
Parameters appInterface : in IpInterfaceRef Specifies a reference to the application interface, which is used for callbacks. sessionID : in TpSessionID Specifies the session for which the service can invoke the application's callback interface. Raises TpCommonExceptions, P_INVALID_SESSION_ID, P_INVALID_INTERFACE_TYPE
8 Data Session Control Interface Classes
The Data Session Control provides a means to control per data session basis the establishment of a new data session. This means especially in the GPRS context that the establishment of a PDP session is modelled not the attach/detach mode. Change of terminal location is assumed to be managed by the underlying network and is therefore not part of the model. The underlying assumption is that a terminal initiates a data session and the application can reject the request for data session establishment, can continue the establishment or can continue and change the destination as requested by the terminal.
The modelling is similar to the Generic Call Control but assumes a simpler underlying state model. An IpDataSessionControlManager object and an IpDataSession object are the interfaces used by the application, whereas the IpAppDataSessionControlManager and the IpAppDataSession interfaces are implemented by the application.
8.1 Interface Class IpAppDataSession
Inherits from: IpInterface.
The application side of the data session interface is used to handle data session request responses and state reports. <<Interface>> IpAppDataSession
connectRes (dataSessionID : in TpSessionID, eventReport : in TpDataSessionReport, assignmentID : in TpAssignmentID) : void connectErr (dataSessionID : in TpSessionID, errorIndication : in TpDataSessionError, assignmentID : in TpAssignmentID) : void superviseDataSessionRes (dataSessionID : in TpSessionID, report : in TpDataSessionSuperviseReport, usedVolume : in TpDataSessionSuperviseVolume, qualityOfService : in TpDataSessionQosClass) : void superviseDataSessionErr (dataSessionID : in TpSessionID, errorIndication : in TpDataSessionError) : void dataSessionFaultDetected (dataSessionID : in TpSessionID, fault : in TpDataSessionFault) : void
ETSI
16 ETSI ES 204 915-8 V1.1.1 (2008-05)
8.1.1 Method connectRes()
This asynchronous method indicates that the request to connect a data session with the destination party was successful, and indicates the response of the destination party (e.g. connected, disconnected). Parameters dataSessionID : in TpSessionID Specifies the session ID of the data session.
eventReport : in TpDataSessionReport Specifies the result of the request to connect the data session. It includes the network event, date and time, monitoring mode, negotiated quality of service and event specific information such as release cause. assignmentID : in TpAssignmentID
8.1.2 Method connectErr()
This asynchronous method indicates that the request to connect a data session with the destination party was unsuccessful, e.g. an error detected in the network or the data session was abandoned. Parameters dataSessionID : in TpSessionID Specifies the session ID.
errorIndication : in TpDataSessionError Specifies the error which led to the original request failing. assignmentID : in TpAssignmentID
8.1.3 Method superviseDataSessionRes()
This asynchronous method reports a data session supervision event to the application. In addition, it may also be used to notify the application of a newly negotiated set of Quality of Service parameters during the active life of the data session.
Parameters dataSessionID : in TpSessionID Specifies the data session.
report : in TpDataSessionSuperviseReport Specifies the situation, which triggered the sending of the data session supervision response. usedVolume : in TpDataSessionSuperviseVolume Specifies the used volume for the data session supervision (in the same unit as specified in the request). qualityOfService : in TpDataSessionQosClass Specifies the newly negotiated Quality of Service parameters for the data session. ETSI
17 ETSI ES 204 915-8 V1.1.1 (2008-05)
8.1.4 Method superviseDataSessionErr()
This asynchronous method reports a data session supervision error to the application. Parameters dataSessionID : in TpSessionID Specifies the data session ID.
errorIndication : in TpDataSessionError Specifies the error which led to the original request failing.
8.1.5 Method dataSessionFaultDetected()
This method indicates to the application that a fault in the network has been detected which cannot be communicated by a network event, e.g. when the user aborts before any establishment method is called by the application. The system purges the Data Session object. Therefore, the application has no further control of data session processing. No report will be forwarded to the application.
Parameters dataSessionID : in TpSessionID Specifies the data session ID of the Data Session object in which the fault has been detected. fault : in TpDataSessionFault Specifies the fault that has been detected.
8.2 Interface Class IpAppDataSessionControlManager
Inherits from: IpInterface.
The data session control manager application interface provides the application data session control management functions to the data session control SCF.
<<Interface>> IpAppDataSessionControlManager
dataSessionAborted (dataSession : in TpSessionID) : void reportNotification (dataSessionReference : in TpDataSessionIdentifier, eventInfo : in TpDataSessionEventInfo, assignmentID : in TpAssignmentID) : IpAppDataSessionRef dataSessionNotificationContinued () : void dataSessionNotificationInterrupted () : void abortMultipleDataSessions (dataSessionSet : in TpSessionIDSet) : void
ETSI
18 ETSI ES 204 915-8 V1.1.1 (2008-05)
8.2.1 Method dataSessionAborted()
This method indicates to the application that the Data Session object has aborted or terminated abnormally. No further communication will be possible between the Data Session object and the application. Parameters dataSession : in TpSessionID Specifies the session ID of the data session that has aborted or terminated abnormally.
8.2.2 Method reportNotification()
This method notifies the application of the arrival of a data session-related event. If this method is invoked with a monitor mode of P_DATA_SESSION_MONITOR_MODE_INTERRUPT, then the application has control of the data session. If the application does nothing with the data session within a specified time period (the duration of which forms a part of the service level agreement), then the data session in the network shall be released and dataSessionFaultDetected() shall be invoked, giving a fault code of P_DATA_SESSION_TIMEOUT_ON_INTERRUPT.
Returns appDataSession : Specifies a reference to the application object which implements the callback interface for the new data session. If the application has previously explicitly passed a reference to the IpAppDataSession interface using a setCallbackWithSessionID() invocation, this parameter may be null, or if supplied must be the same as that provided during the setCallbackWithSessionID().
...
Contents
- 1 Scope
- 2 References
- 3 Definitions and abbreviations
- 3.1 Definitions
- 3.2 Abbreviations
- 8 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 4 Data Session Control SCF
- 9 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 4.1 General requirements on support of methods
- 5 Sequence Diagrams
- 5.1 Network Controlled Notifications
- 10 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 5.2 Enable Data Session Notification
- 11 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 5.3 Address Translation With Charging
- 12 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 6 Class Diagrams
- 13 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 7 The Service Interface Specifications
- 7.1 Interface Specification Format
- 7.2 Base Interface
- 14 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 7.3 Service Interfaces
- 7.4 Generic Service Interface
- 15 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 8 Data Session Control Interface Classes
- 8.1 Interface Class IpAppDataSession
- 16 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 17 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 8.2 Interface Class IpAppDataSessionControlManager
- 18 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 19 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 8.3 Interface Class IpDataSession
- 20 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 21 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 22 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 8.4 Interface Class IpDataSessionControlManager
- 23 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 24 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 25 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 9 State Transition Diagrams
- 9.1 State Transition Diagrams for IpDataSession
- 26 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 27 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 10 Data Session Control Service Properties
- 28 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 11 Data Definitions
- 11.1 Data Session Control Data Definitions
- 29 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 11.2 Event Notification data definitions
- 30 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 31 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 32 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 33 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 34 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 35 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 36 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 37 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 38 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 39 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 40 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 41 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 42 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 43 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 44 ETSI ES 204 915-8 V1.1.1 (2008-05)
- 45 ETSI ES 204 915-8 V1.1.1 (2008-05)
1 Scope
The present document is part 8 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA).
The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs.
The present document specifies the Data Session Control Service Capability Feature (SCF) aspects of the interface. All aspects of the Data Session Control SCF are defined here, these being:
- Sequence Diagrams.
- Class Diagrams.
- Interface specification plus detailed method descriptions.
- State Transition diagrams.
- Data Definitions.
- IDL Description of the interfaces.
- WSDL Description of the interfaces.
The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).
2 References
The references listed in clause 2 of ES 204 915-1 contain provisions which, through reference in this text, constitute provisions of the present document.
ETSI ES 204 915-1: "Open Service Access (OSA); Application Programming Interface (API); Part 1: Overview (Parlay 6)".
3 Definitions and abbreviations
3.1 Definitions
For the purposes of the present document, the terms and definitions given in ES 204 915-1 apply.
3.2 Abbreviations
For the purposes of the present document, the abbreviations given in ES 204 915-1 apply. ETSI
SIST ES 204 915-8 V1.1.1:2008
8 ETSI ES 204 915-8 V1.1.1 (2008-05)
4 Data Session Control SCF
The Data Session control network service capability feature consists of two interfaces:
1) Data Session manager, containing management functions for data session related issues; 2) Data Session, containing methods to control a session.
A session can be controlled by one Data Session Manager only. Data Session Manager can control several sessions.
Data Session Data Session 1 n Manager
NOTE: The term "data session" is used in a broad sense to describe a data connection/session. For example, it comprises a PDP context in GPRS.
Figure 1: Data Session control interfaces usage relationship The Data Session Control service capability features are described in terms of the methods in the Data Session Control interfaces. Table 1 gives an overview of the Data Session Control methods and to which interfaces these methods belong.
Table 1: Overview of Data Session Control interfaces and their methods Data Session Manager Data Session createNotifications connectReq destroyNotification connectRes dataSessionNotificationInterrupted connectErr dataSessionNotificationContinued release reportNotification superviseDataSessionReq dataSessionAborted superviseDataSessionRes getNotifications superviseDataSessionErr changeNotification dataSessionFaultDetected enableNotifications setAdviceofCharge disableNotifications setDataSessionChargePlan
The session manager interface provides the management functions to the data session service capability features. The application programmer can use this interface to enable or disable data session-related event notifications. The following clauses describe each aspect of the Data Session Control Service Capability Feature (SCF). The order is as follows:
- The Sequence diagrams give the reader a practical idea of how each of the SCF is implemented.
- The Class relationships clause shows how each of the interfaces applicable to the SCF, relate to one another.
- The Interface specification clause describes in detail each of the interfaces shown within the Class diagram part.
- The State Transition Diagrams (STD) show the transition between states in the SCF. The states and transitions are well-defined; either methods specified in the Interface specification or events occurring in the underlying networks cause state transitions.
- The Data Definitions clause shows a detailed expansion of each of the data types associated with the methods within the classes. Note that some data types are used in other methods and classes and are therefore defined within the Common Data types part ES 204 915-2.
ETSI
SIST ES 204 915-8 V1.1.1:2008
9 ETSI ES 204 915-8 V1.1.1 (2008-05)
4.1 General requirements on support of methods
An implementation of this API which supports or implements a method described in the present document, shall support or implement the functionality described for that method, for at least one valid set of values for the parameters of that method.
Where a method is not supported by an implementation of a Service interface, the exception P_METHOD_NOT_SUPPORTED shall be returned to any call of that method. Where a method is not supported by an implementation of an Application interface, a call to that method shall be possible, and no exception shall be returned.
5 Sequence Diagrams
5.1 Network Controlled Notifications
The following sequence diagram shows how an application can receive notifications that have not been created by the application, but are provisioned from within the network.
AppLogic : :
IpAppDataSessionControlManager IpDataSessionControlManager 1: new ( ) 2: enableNotifications( ) 3: reportNotification( ) 4: 'forward event' 5: reportNotification( ) 6: 'forward event' 7: disableNotifications( )
1: The application is started. The application creates a new IpAppDataSessionControlManager to handle callbacks.
ETSI
SIST ES 204 915-8 V1.1.1:2008
10 ETSI ES 204 915-8 V1.1.1 (2008-05)
2: The enableNotifications method is invoked on the IpDataSessionControlManager interface to indicate that the application is ready to receive notifications that are created in the network. For illustrative purposes we assume notifications of type "B" are created in the network.
3: When a network created trigger occurs the application is notified on the callback interface. 4: The event is forwarded to the application.
5: When a network created trigger occurs the application is notified on the callback interface. 6: The event is forwarded to the application.
7: When the application does not want to receive notifications created in the network anymore, it invokes disableNotifications on the IpDataSessionControlManager interface. From now on the gateway will not send any notifications to the application that are created in the network. The application will still receive notifications that it has created itself until the application removes them.
5.2 Enable Data Session Notification
Application Data Session Manager : Data Session :
IpDataSessionControlManager IpDataSes sion 1: createNotifications( )
ETSI
SIST ES 204 915-8 V1.1.1:2008
11 ETSI ES 204 915-8 V1.1.1 (2008-05)
5.3 Address Translation With Charging
Application Data Session Manager : Data Session :
IpDataSessionControlManager IpDat aSessi on 1: createNotifications( ) 2: reportNotification() 3: 'translate address' 4: setCallback( ) 5: superviseDataSessionReq( ) 6: connectReq( ) 7: superviseDataSessionRes() 8: superviseDataSessionReq( ) 9: superviseDataSessionRes() 10: ConnectRes( )
ETSI
SIST ES 204 915-8 V1.1.1:2008
12 ETSI ES 204 915-8 V1.1.1 (2008-05)
6 Class Diagrams
Data Session Control Class Diagram:
<<Interface>> IpInterface (from csapi) <<Interface>> <<Interface>> IpAppDataSessionControlManager IpAppDataSession (from dsc) (from dsc) dataSessionAborted() connectRes() 101 0....nn reportNotification() connectErr() dataSessionNotificationContinued() superviseDataSessionRes() dataSessionNotificationInterrupted() superviseDataSessionErr() abortMultipleDataSessions() dataSessionFaultDetected() <<uses>> <<uses>> <<Interface>> <<Interface>> IpDataSession IpDataSessionControlManager (from dsc) (from dsc) connectReq() destroyNotification() release() changeNotification() 11 00..n..n superviseDataSessionReq() enableNotifications() setDataSessionChargePlan() disableNotifications() setAdviceOfCharge() getNotifications() deassignDataSession() createNotifications() continueProcessing() <<Interface>> IpService (from csapi) setCallback() setCallbackWithSessionID()
Figure 2: Package Overview ETSI
SIST ES 204 915-8 V1.1.1:2008
13 ETSI ES 204 915-8 V1.1.1 (2008-05)
7 The Service Interface Specifications
7.1 Interface Specification Format
This clause defines the interfaces, methods and parameters that form a part of the API specification. The Unified Modelling Language (UML) is used to specify the interface classes. The general format of an interface specification is described below.
7.1.1 Interface Class
This shows a UML interface class description of the methods supported by that interface, and the relevant parameters and types. The Service and Framework interfaces for enterprise-based client applications are denoted by classes with name Ip<name>. The callback interfaces to the applications are denoted by classes with name IpApp<name>. For the interfaces between a Service and the Framework, the Service interfaces are typically denoted by classes with name IpSvc<name>, while the Framework interfaces are denoted by classes with name IpFw<name>.
7.1.2 Method descriptions
Each method (API method “call”) is described. Both synchronous and asynchronous methods are used in the API. Asynchronous methods are identified by a 'Req' suffix for a method request, and, if applicable, are served by asynchronous methods identified by either a 'Res' or 'Err' suffix for method results and errors, respectively. To handle responses and reports, the application or service developer must implement the relevant IpApp<name> or IpSvc<name> interfaces to provide the callback mechanism.
7.1.3 Parameter descriptions
Each method parameter and its possible values are described. Parameters described as 'in' represent those that must have a value when the method is called. Those described as 'out' are those that contain the return result of the method when the method returns.
7.1.4 State Model
If relevant, a state model is shown to illustrate the states of the objects that implement the described interface.
7.2 Base Interface
7.2.1 Interface Class IpInterface
All application, framework and service interfaces inherit from the following interface. This API Base Interface does not provide any additional methods.
<<Interface>> IpInterface
ETSI
SIST ES 204 915-8 V1.1.1:2008
14 ETSI ES 204 915-8 V1.1.1 (2008-05)
7.3 Service Interfaces
7.3.1 Overview
The Service Interfaces provide the interfaces into the capabilities of the underlying network - such as call control, user interaction, messaging, mobility and connectivity management.
The interfaces that are implemented by the services are denoted as 'Service Interface'. The corresponding interfaces that must be implemented by the application (e.g. for API callbacks) are denoted as 'Application Interface'.
7.4 Generic Service Interface
7.4.1 Interface Class IpService
Inherits from: IpInterface; All service interfaces inherit from the following interface.
<<Interface>> IpService
setCallback (appInterface : in IpInterfaceRef) : void setCallbackWithSessionID (appInterface : in IpInterfaceRef, sessionID : in TpSessionID) : void
7.4.1.1 Method setCallback()
This method specifies the reference address of the callback interface that a service uses to invoke methods on the application. It is not allowed to invoke this method on an interface that uses SessionIDs. Multiple invocations of this method on an interface shall result in multiple callback references being specified. The SCS shall use the most recent callback interface provided by the application using this method. In the event that a callback reference fails or is no longer available, the next most recent callback reference available shall be used. Parameters appInterface : in IpInterfaceRef Specifies a reference to the application interface, which is used for callbacks. Raises TpCommonExceptions, P_INVALID_INTERFACE_TYPE
7.4.1.2 Method setCallbackWithSessionID()
This method specifies the reference address of the application's callback interface that a service uses for interactions associated with a specific session ID: e.g. a specific call, or call leg. It is not allowed to invoke this method on an interface that does not use SessionIDs. Multiple invocations of this method on an interface shall result in multiple callback references being specified. The SCS shall use the most recent callback interface provided by the application using this method. In the event that a callback reference fails or is no longer available, the next most recent callback reference available shall be used.
ETSI
SIST ES 204 915-8 V1.1.1:2008
15 ETSI ES 204 915-8 V1.1.1 (2008-05)
Parameters appInterface : in IpInterfaceRef Specifies a reference to the application interface, which is used for callbacks. sessionID : in TpSessionID Specifies the session for which the service can invoke the application's callback interface. Raises TpCommonExceptions, P_INVALID_SESSION_ID, P_INVALID_INTERFACE_TYPE
8 Data Session Control Interface Classes
The Data Session Control provides a means to control per data session basis the establishment of a new data session. This means especially in the GPRS context that the establishment of a PDP session is modelled not the attach/detach mode. Change of terminal location is assumed to be managed by the underlying network and is therefore not part of the model. The underlying assumption is that a terminal initiates a data session and the application can reject the request for data session establishment, can continue the establishment or can continue and change the destination as requested by the terminal.
The modelling is similar to the Generic Call Control but assumes a simpler underlying state model. An IpDataSessionControlManager object and an IpDataSession object are the interfaces used by the application, whereas the IpAppDataSessionControlManager and the IpAppDataSession interfaces are implemented by the application.
8.1 Interface Class IpAppDataSession
Inherits from: IpInterface.
The application side of the data session interface is used to handle data session request responses and state reports. <<Interface>> IpAppDataSession
connectRes (dataSessionID : in TpSessionID, eventReport : in TpDataSessionReport, assignmentID : in TpAssignmentID) : void connectErr (dataSessionID : in TpSessionID, errorIndication : in TpDataSessionError, assignmentID : in TpAssignmentID) : void superviseDataSessionRes (dataSessionID : in TpSessionID, report : in TpDataSessionSuperviseReport, usedVolume : in TpDataSessionSuperviseVolume, qualityOfService : in TpDataSessionQosClass) : void superviseDataSessionErr (dataSessionID : in TpSessionID, errorIndication : in TpDataSessionError) : void dataSessionFaultDetected (dataSessionID : in TpSessionID, fault : in TpDataSessionFault) : void
ETSI
SIST ES 204 915-8 V1.1.1:2008
16 ETSI ES 204 915-8 V1.1.1 (2008-05)
8.1.1 Method connectRes()
This asynchronous method indicates that the request to connect a data session with the destination party was successful, and indicates the response of the destination party (e.g. connected, disconnected). Parameters dataSessionID : in TpSessionID Specifies the session ID of the data session.
eventReport : in TpDataSessionReport Specifies the result of the request to connect the data session. It includes the network event, date and time, monitoring mode, negotiated quality of service and event specific information such as release cause. assignmentID : in TpAssignmentID
8.1.2 Method connectErr()
This asynchronous method indicates that the request to connect a data session with the destination party was unsuccessful, e.g. an error detected in the network or the data session was abandoned. Parameters dataSessionID : in TpSessionID Specifies the session ID.
errorIndication : in TpDataSessionError Specifies the error which led to the original request failing. assignmentID : in TpAssignmentID
8.1.3 Method superviseDataSessionRes()
This asynchronous method reports a data session supervision event to the application. In addition, it may also be used to notify the application of a newly negotiated set of Quality of Service parameters during the active life of the data session.
Parameters dataSessionID : in TpSessionID Specifies the data session.
report : in TpDataSessionSuperviseReport Specifies the situation, which triggered the sending of the data session supervision response. usedVolume : in TpDataSessionSuperviseVolume Specifies the used volume for the data session supervision (in the same unit as specified in the request). qualityOfService : in TpDataSessionQosClass Specifies the newly negotiated Quality of Service parameters for the data session. ETSI
SIST ES 204 915-8 V1.1.1:2008
17 ETSI ES 204 915-8 V1.1.1 (2008-05)
8.1.4 Method superviseDataSessionErr()
This asynchronous method reports a data session supervision error to the application. Parameters dataSessionID : in TpSessionID Specifies the data session ID.
errorIndication : in TpDataSessionError Specifies the error which led to the original request failing.
8.1.5 Method dataSessionFaultDetected()
This method indicates to the application that a fault in the network has been detected which cannot be communicated by a network event, e.g. when the user aborts before any establishment method is called by the application. The system purges the Data Session object. Therefore, the application has no further control of data session processing. No report will be forwarded to the application.
Parameters dataSessionID : in TpSessionID Specifies the data session ID of the Data Session object in which the fault has been detected. fault : in TpDataSessionFault Specifies the fault that has been detected.
8.2 Interface Class IpAppDataSessionControlManager
Inherits from: IpInterface.
The data session control manager application interface provides the application data session control management functions to the data session control SCF.
<<Interface>> IpAppDataSessionControlManager
dataSessionAborted (dataSession : in TpSessionID) : void reportNotification (dataSessionReference : in TpDataSessionIdentifier, eventInfo : in TpDataSessionEventInfo, assignmentID : in TpAssignmentID) : IpAppDataSessionRef dataSessionNotificationContinued () : void dataSessionNotificationInterrupted () : void abortMultipleDataSessions (dataSessionSet : in TpSessionIDSet) : void
ETSI
SIST ES 204 915-8 V1.1.1:2008
18 ETSI ES 204 915-8 V1.1.1 (2008-05)
8.2.1 Method dataSessionAborted()
This method indicates to the application that the Data Session object has aborted or terminated abnormally. No further communication will be possible between the Data Session object and the application. Parameters dataSession : in TpSessionID Specifies the session ID of the data session that has aborted or terminated abnormally.
8.2.2 Method reportNotification()
This method notifies the application of the arrival of a data session-related event. If this method is invoked with a monitor mode of P_DATA_SESSION_MONITOR_MODE_INTERRUPT, then the application has control of the data session. If the application does nothing with the data session within a specified time period (the duration of which forms a part of the service level agreement), then the data session in the network shall be released and dataSessionFaultDetected() shall be invoked, giving a fault code of P_DATA_SESSION_TIMEOUT_ON_INTERRUPT.
Returns appDataSession : Specifies a reference to the application object which implements the callback interface for the new data session. If the application has previously explicitly passed a reference to the IpAppDataSession interface using a setCallbackWithSessionID() invocation, this parameter may be null, or if supplied must be the same as that provided during the setCallbackWithSessionID().
...











