1、 ETSI ES 201 915-9 V1.4.1 (2003-07)ETSI Standard Open Service Access (OSA);Application Programming Interface (API);Part 9: Generic Messaging SCF(Parlay 3)floppy3 ETSI ETSI ES 201 915-9 V1.4.1 (2003-07) 2 Reference RES/SPAN-120095-9 Keywords API, OSA, IDL, UML ETSI 650 Route des Lucioles F-06921 Soph
2、ia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice Individual copies of the present document can be downloaded from: http:/www.etsi.org Th
3、e present document may be made available in more than one electronic version or in print. In any case of existing or perceived difference in contents between such versions, the reference version is the Portable Document Format (PDF). In case of dispute, the reference shall be the printing on ETSI pr
4、inters of the PDF version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this and other ETSI documents is available at http:/portal.etsi.org
5、/tb/status/status.asp If you find errors in the present document, send your comment to: editoretsi.org Copyright Notification No part may be reproduced except as authorized by written permission. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunicat
6、ions Standards Institute 2003. The Parlay Group 2003. All rights reserved. DECTTM, PLUGTESTSTM and UMTSTM are Trade Marks of ETSI registered for the benefit of its Members. TIPHONTMand the TIPHON logo are Trade Marks currently being registered by ETSI for the benefit of its Members. 3GPPTM is a Trad
7、e Mark of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. ETSI ETSI ES 201 915-9 V1.4.1 (2003-07) 3 Contents Intellectual Property Rights5 Foreword.5 1 Scope 6 2 References 6 3 Definitions and abbreviations.6 3.1 Definitions6 3.2 Abbreviations .6 4 Generic Mes
8、saging SCF.7 5 Sequence Diagrams 7 5.1 Prepare Mailbox .7 5.2 Open Mailbox.8 5.3 Get Message .8 5.4 Get Folder Information.9 5.5 Close Mailbox 10 6 Class Diagrams.10 7 The Service Interface Specifications11 7.1 Interface Specification Format .11 7.1.1 Interface Class 11 7.1.2 Method descriptions11 7
9、.1.3 Parameter descriptions12 7.1.4 State Model.12 7.2 Base Interface.12 7.2.1 Interface Class IpInterface 12 7.3 Service Interfaces .12 7.3.1 Overview 12 7.4 Generic Service Interface .12 7.4.1 Interface Class IpService 12 8 Generic Messaging Interface Classes.13 8.1 Interface Class IpMessagingMana
10、ger 14 8.2 Interface Class IpAppMessagingManager16 8.3 Interface Class IpMailbox 17 8.4 Interface Class IpMailboxFolder22 8.5 Interface Class IpMessage26 9 State Transition Diagrams29 10 Data Definitions .29 10.1 Event notification Definitions 29 10.1.1 TpMessagingEventName29 10.1.2 TpMessagingEvent
11、Criteria .29 10.1.3 TpGMSNewMessageArrivedCriteria .29 10.1.4 TpMessagingEventInfo.30 10.1.5 TpGMSNewMessageArrivedInfo.30 10.2 Generic Messaging Data Definitions30 10.2.1 IpMessagingManager30 10.2.2 IpMessagingManagerRef30 10.2.3 IpAppMessagingManager.30 10.2.4 IpAppMessagingManagerRef.30 10.2.5 Ip
12、Mailbox .30 10.2.6 IpMailboxRef30 10.2.7 IpMailboxFolder.31 10.2.8 IpMailboxFolderRef .31 ETSI ETSI ES 201 915-9 V1.4.1 (2003-07) 4 10.2.9 IpMessage.31 10.2.10 IpMessageRef .31 10.2.11 TpFolderInfoProperty .31 10.2.12 TpFolderInfoPropertyName31 10.2.13 TpFolderInfoPropertySet 31 10.2.14 TpMailboxFol
13、derIdentifier .32 10.2.15 TpMailboxIdentifier32 10.2.16 TpMailboxInfoProperty32 10.2.17 TpMailboxInfoPropertyName.32 10.2.18 TpMailboxInfoPropertySet.32 10.2.19 TpMessage32 10.2.20 TpMessageFormat 33 10.2.21 TpMessageInfoProperty33 10.2.22 TpMessageInfoPropertyName 34 10.2.23 TpMessageInfoPropertySe
14、t 34 10.2.24 TpMessagePriority34 10.2.25 TpMessageStatus 35 10.2.26 TpMessagingFault 35 11 Exception Classes.36 Annex A (normative): OMG IDL Description of Generic Messaging SCF 37 Annex B (informative): Record of changes 38 B.1 Interfaces 38 B.1.1 New 38 B.1.2 Deprecated38 B.1.3 Removed.38 B.2 Meth
15、ods38 B.2.1 New 38 B.2.2 Deprecated38 B.2.3 Modified.39 B.2.4 Removed.39 B.3 Data Definitions .39 B.3.1 New 39 B.3.2 Modified.39 B.3.3 Removed.39 B.4 Service Properties.39 B.4.1 New 39 B.4.2 Deprecated40 B.4.3 Modified.40 B.4.4 Removed.40 B.5 Exceptions 40 B.5.1 New 40 B.5.2 Modified.40 B.5.3 Remove
16、d.40 B.6 Others .40 History 41 ETSI ETSI ES 201 915-9 V1.4.1 (2003-07) 5 Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared to ETSI. The information pertaining to these essential IPRs, if any, is publicly available for ETSI members and
17、 non-members, and can be found in ETSI SR 000 314: “Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web server (http:/webapp.etsi.org/
18、IPR/home.asp). Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web server) which are, or may be, or may become, essential
19、 to the present document. Foreword This ETSI Standard (ES) has been produced by ETSI Technical Committee Services and Protocols for Advanced Networks (SPAN). The present document is part 9 of a multi-part deliverable covering Open Service Access (OSA); Application Programming Interface (API), as ide
20、ntified below. The API specification (ES 201 915) is structured in the following parts: Part 1: “Overview“; Part 2: “Common Data Definitions“; Part 3: “Framework“; Part 4: “Call Control SCF“; Part 5: “User Interaction SCF“; Part 6: “Mobility SCF“; Part 7: “Terminal Capabilities SCF“; Part 8: “Data S
21、ession Control SCF“; Part 9: “Generic Messaging SCF“; Part 10: “Connectivity Manager SCF“; Part 11: “Account Management SCF“; Part 12: “Charging SCF“. The present document has been defined jointly between ETSI, The Parlay Group (http:/www.parlay.org) and the 3GPP, in co-operation with a number of JA
22、IN Community (http:/ member companies. The present document forms part of the Parlay 3.3 set of specifications. ETSI ETSI ES 201 915-9 V1.4.1 (2003-07) 6 1 Scope The present document is part 9 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA).
23、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 Generic Messaging Service Capability Feature (SCF) aspects of the interface. All aspect
24、s of the Generic Messaging 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 The process by which this task is accomplished is through the use of o
25、bject modelling techniques described by the Unified Modelling Language (UML). 2 References The references listed in clause 2 of ES 201 915-1 contain provisions which, through reference in this text, constitute provisions of the present document. ETSI ES 201 915-1: “Open Service Access (OSA); Applica
26、tion Programming Interface (API); Part 1: Overview (Parlay 3)“. 3 Definitions and abbreviations 3.1 Definitions For the purposes of the present document, the terms and definitions given in ES 201 915-1 apply. 3.2 Abbreviations For the purposes of the present document, the abbreviations defined in ES
27、 201 915-1 apply. ETSI ETSI ES 201 915-9 V1.4.1 (2003-07) 7 4 Generic Messaging SCF The following clauses describe each aspect of the Generic Messaging 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 implemen
28、ted. The Class relationships clause show 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
29、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 show a detailed expansion of each of the data types associated with the methods within
30、the classes. Note that some data types are used in other methods and classes and are therefore defined within the Common Data types part of the present document. 5 Sequence Diagrams 5.1 Prepare Mailbox :IpAppLogic: Ip App Mess aging Manag er: IpMessagingManager1: new()2: enableMessagingNotification(
31、 )3: messagingEventNotify( )4: forward event1: This message is used by the application to create an object implementing the IpAppMessagingManager interface. 2: This message is used to enable the notification mechanism so that events can be sent to the application. When new mail, that matches the eve
32、nt criteria set in message 2, arrives a message indicating the presence of new mail (not shown) is directed to the object implementing the IpMessagingManager. ETSI ETSI ES 201 915-9 V1.4.1 (2003-07) 8 3: This message is used to pass the new mail event to the object implementing the IpAppMessagingMan
33、ager interface. 4: This message is used to forward message 3 to the IpAppLogic. 5.2 Open Mailbox :IpA pp Logic: IpMessagingManager: IpMailbox1: openMailbox( )2: new()1: This message requests the object implementing the IpMessagingManager interface to create an object implementing the IpMailbox inter
34、face. 2: Assuming that the criteria for creating an object implementing the IpMailbox interface is met, message 2 is used to create it. 5.3 Get Message :IpAppLogic: IpMailboxFolder : IpMessage : IpMailbox1: openFolder( )2: getInfoAmount( )3: getInfoProperties( )4: getMessage( )5: new()ETSI ETSI ES 2
35、01 915-9 V1.4.1 (2003-07) 9 1: This message requests a folder to be opened and returns a reference to that folder. 2: This message requests the number of folder information properties of the opened folder. 3: This message requests all of the folder information properties. 4: This message requests a
36、message from the opened mailbox folder. 5: Assuming that the criteria for creating an object implementing the IpMessage interface are met, the (internal) message 5 is used to create it. 5.4 Get Folder Information :IpAppLogic: IpMailboxFolder1: getInfoAmount( )2: getInfoProperties( )3: getInfoPropert
37、ies( )1: This message requests the number of folder information properties of the specified folder. 2: This message requests the first set of folder information properties. 3: This message requests the second set of folder information properties. ETSI ETSI ES 201 915-9 V1.4.1 (2003-07) 105.5 Close M
38、ailbox :IpAppLogic: IpMailbox1: close( )1: This message requests the object implementing the IpMailbox interface to de-assign. 6 Class Diagrams IpServicesetCallback()setCallbackWithSessionID()(f ro m c sap i)IpMessagingManager(from gms)IpMailbox(from gms)0n1IpMessage(from gms)IpMailboxFolder(f rom g
39、ms)2n10n1Figure 1: Package Overview: Service Interfaces The application generic messaging service package consists of only one IpAppMessagingManager interface. The generic messaging service package consists of one IpMessagingManager interface, zero or more IpMailbox interfaces, zero or more IpMailbo
40、xFolder and zero or more IpMessage interfaces. The class diagram in the following figure shows the interfaces that make up the application generic messaging service package and the generic messaging service package. Communication between these packages is done via the +uses the IpMessagingManager ch
41、annels. Communication with the IpMailbox and IpMailboxFolder interfaces has to be done via the application logic (not shown). ETSI ETSI ES 201 915-9 V1.4.1 (2003-07) 11IpInterface(from csapi)IpAppMessagingManagermailboxTerminated()mailboxFaultDetected()messagingEventNotify()messagingNotificationTerm
42、inated()(from gms)IpMessagingManageropenMailbox()enableMessagingNotification()disableMessagingNotification()(from gms)IpMailboxclose()lock()unlock()getInfoAmount()getInfoProperties()setInfoProperties()openFolder()createFolder()remove()(from gms)1 0n10IpMailboxFoldergetInfoAmount()getInfoProperties()
43、setInfoProperties()putMessage()getMessage()close()remove()(from gms)1 2n12IpMessagegetInfoAmount()getInfoProperties()setInfoProperties()remove()getContent()(from gms)1 0n1011Figure 2: Package Overview: Application and Service Interfaces 7 The Service Interface Specifications 7.1 Interface Specificat
44、ion 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
45、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. The callback interfaces to the applications are denoted by classes with na
46、me IpApp. For the interfaces between a Service and the Framework, the Service interfaces are typically denoted by classes with name IpSvc, while the Framework interfaces are denoted by classes with name IpFw 7.1.2 Method descriptions Each method (API method “call”) is described. Both synchronous and
47、 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 appli
48、cation or service developer must implement the relevant IpApp or IpSvc interfaces to provide the callback mechanism. ETSI ETSI ES 201 915-9 V1.4.1 (2003-07) 127.1.3 Parameter descriptions Each method parameter and its possible values are described. Parameters described as in represent those that mus
49、t 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. IpInterface 7
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1