1、 ETSI ES 202 915-9 V1.3.1 (2006-12)ETSI Standard Open Service Access (OSA);Application Programming Interface (API);Part 9: Generic Messaging SCF(Parlay 4)floppy3 ETSI ETSI ES 202 915-9 V1.3.1 (2006-12) 2 Reference RES/TISPAN-01028-09-OSA Keywords API, IDL, OSA, UML ETSI 650 Route des Lucioles F-0692
2、1 Sophia 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.
3、org The 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 E
4、TSI printers 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.et
5、si.org/tb/status/status.asp If you find errors in the present document, please send your comment to one of the following services: http:/portal.etsi.org/chaircor/ETSI_support.asp Copyright Notification No part may be reproduced except as authorized by written permission. The copyright and the forego
6、ing restriction extend to reproduction in all media. European Telecommunications Standards Institute 2006. The Parlay Group 2006. 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 current
7、ly being registered by ETSI for the benefit of its Members. 3GPPTM is a Trade Mark of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. ETSI ETSI ES 202 915-9 V1.3.1 (2006-12) 3 Contents Intellectual Property Rights6 Foreword.6 1 Scope 7 2 References 7 3 Definit
8、ions and abbreviations.7 3.1 Definitions7 3.2 Abbreviations .7 4 Generic Messaging SCF.8 5 Sequence Diagrams 8 5.1 Prepare Mailbox .8 5.2 Open Mailbox.9 5.3 Get Message .10 5.4 Get Folder Information.11 5.5 Close Mailbox 11 6 Class Diagrams.12 7 The Service Interface Specifications13 7.1 Interface S
9、pecification Format .13 7.1.1 Interface Class 13 7.1.2 Method descriptions13 7.1.3 Parameter descriptions14 7.1.4 State Model.14 7.2 Base Interface.14 7.2.1 Interface Class IpInterface 14 7.3 Service Interfaces .14 7.3.1 Overview 14 7.4 Generic Service Interface .14 7.4.1 Interface Class IpService 1
10、4 7.4.1.1 Method setCallback()15 7.4.1.2 Method setCallbackWithSessionID()15 8 Generic Messaging Interface Classes.15 8.1 Interface Class IpMessagingManager 16 8.1.1 Method openMailbox().16 8.1.2 Method enableMessagingNotification() .16 8.1.3 Method disableMessagingNotification().17 8.2 Interface Cl
11、ass IpAppMessagingManager17 8.2.1 Method mailboxTerminated().18 8.2.2 Method mailboxFaultDetected().18 8.2.3 Method messagingEventNotify()18 8.2.4 Method messagingNotificationTerminated()18 8.3 Interface Class IpMailbox 19 8.3.1 Method close()19 8.3.2 Method lock() .19 8.3.3 Method unlock() .20 8.3.
12、4 Method getInfoAmount()20 8.3.5 Method getInfoProperties().20 8.3.6 Method setInfoProperties().21 8.3.7 Method openFolder() 21 8.3.8 Method createFolder() 22 8.3.9 Method remove() 22 8.4 Interface Class IpMailboxFolder23 8.4.1 Method getInfoAmount()23 ETSI ETSI ES 202 915-9 V1.3.1 (2006-12) 4 8.4.2
13、 Method getInfoProperties().23 8.4.3 Method setInfoProperties().24 8.4.4 Method putMessage() .24 8.4.5 Method getMessage() .25 8.4.6 Method close()25 8.4.7 Method remove() 26 8.5 Interface Class IpMessage26 8.5.1 Method getInfoAmount()26 8.5.2 Method getInfoProperties().27 8.5.3 Method setInfoProper
14、ties().28 8.5.4 Method remove() 28 8.5.5 Method getContent().28 9 State Transition Diagrams29 10 Data Definitions .29 10.1 Event notification Definitions 29 10.1.1 TpMessagingEventName29 10.1.2 TpMessagingEventCriteria .29 10.1.3 TpGMSNewMessageArrivedCriteria .30 10.1.4 TpMessagingEventInfo.30 10.1
15、.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 IpMailbox .30 10.2.6 IpMailboxRef31 10.2.7 IpMailboxFolder.31 10.2.8 IpMailboxFolderRef .31
16、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 TpMailboxFolderIdentifier .32 10.2.15 TpMailboxIdentifier32 10.2.16 TpMailboxInfoProperty32 10.2.17 TpMailboxInfoPropertyName.32 10.2.18 TpMailb
17、oxInfoPropertySet.32 10.2.19 TpMessage32 10.2.20 TpMessageFormat 33 10.2.21 TpMessageInfoProperty33 10.2.22 TpMessageInfoPropertyName 33 10.2.23 TpMessageInfoPropertySet 34 10.2.24 TpMessagePriority34 10.2.25 TpMessageStatus 34 10.2.26 TpMessagingFault 34 11 Exception Classes.35 Annex A (normative):
18、 OMG IDL Description of Generic Messaging SCF 36 Annex B (informative): W3C WSDL Description of Generic Messaging SCF.37 Annex C (informative): Java API Description of the Generic Messaging SCF 38 Annex D (informative): Record of changes 39 D.1 Interfaces 39 D.1.1 New 39 D.1.1 Deprecated39 D.1.3 Rem
19、oved.39 ETSI ETSI ES 202 915-9 V1.3.1 (2006-12) 5 D.2 Methods40 D.2.1 New 40 D.2.2 Deprecated40 D.2.3 Modified.40 D.2.4 Removed.40 D.3 Data Definitions .41 D.3.1 New 41 D.3.2 Modified.41 D.3.3 Removed.41 D.4 Service Properties.42 D.4.1 New 42 D.4.2 Deprecated42 D.4.3 Modified.42 D.4.4 Removed.42 D.5
20、 Exceptions 43 D.5.1 New 43 D.5.2 Modified.43 D.5.3 Removed.43 D.6 Others .43 History 44 ETSI ETSI ES 202 915-9 V1.3.1 (2006-12) 6 Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared to ETSI. The information pertaining to these essentia
21、l IPRs, if any, is publicly available for ETSI members and 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 ar
22、e available on the ETSI Web server (http:/webapp.etsi.org/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
23、Web server) which are, or may be, or may become, essential to the present document. Foreword This ETSI Standard (ES) has been produced by ETSI Technical Committee Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN). The present document is part 9 of a mu
24、lti-part deliverable covering Open Service Access (OSA); Application Programming Interface (API), as identified below. The API specification (ES 202 915) is structured in the following parts: Part 1: “Overview“; Part 2: “Common Data Definitions“; Part 3: “Framework“; Part 4: “Call Control“; Part 5:
25、“User Interaction SCF“; Part 6: “Mobility SCF“; Part 7: “Terminal Capabilities SCF“; Part 8: “Data Session Control SCF“; Part 9: “Generic Messaging SCF“; Part 10: “Connectivity Manager SCF“; Part 11: “Account Management SCF“; Part 12: “Charging SCF“; Part 13: “Policy Management SCF“; Part 14: “Prese
26、nce and Availability Management 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 JAIN Community (http:/ member companies. The present document forms part of the Parlay 4.3 set of specifications. E
27、TSI ETSI ES 202 915-9 V1.3.1 (2006-12) 7 1 Scope The present document is part 9 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 function
28、ality 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 aspects of the Generic Messaging SCF are defined here, these being: Sequence Diagrams. Class Diagrams. Interface specif
29、ication 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 object modelling techniques described by the Unified Modelling Language (UML). 2 References The references l
30、isted in clause 2 of ES 202 915-1 contain provisions which, through reference in this text, constitute provisions of the present document. ETSI ES 202 915-1: “Open Service Access (OSA); Application Programming Interface (API); Part 1: Overview (Parlay 4)“. 3 Definitions and abbreviations 3.1 Definit
31、ions For the purposes of the present document, the terms and definitions given in ES 202 915-1 apply. 3.2 Abbreviations For the purposes of the present document, the abbreviations defined in ES 202 915-1 apply. ETSI ETSI ES 202 915-9 V1.3.1 (2006-12) 8 4 Generic Messaging SCF The following clauses d
32、escribe 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 implemented. The Class relationships clause shows how each of the interfaces applicable to the SCF, relate to one a
33、nother. 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 specifi
34、cation 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 wi
35、thin the Common Data types part ES 202 915-2. 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
36、 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. 5 Sequence Diagrams 5.1 Prepare Mailbox :IpAppLogic: IpAppMessagingManager: IpMessagingManager1: new()2: enableMessagingNotification( )3: messaging
37、EventNotify( )4: forward eventETSI ETSI ES 202 915-9 V1.3.1 (2006-12) 9 1: 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 ne
38、w mail, that matches the event criteria set in message 2, arrives a message indicating the presence of new mail (not shown) is directed to the object implementing the IpMessagingManager. 3: This message is used to pass the new mail event to the object implementing the IpAppMessagingManager interface
39、. 4: This message is used to forward message 3 to the IpAppLogic. 5.2 Open Mailbox :IpAppLogic: IpMessagingManager: IpMailbox1: openMailbox( )2: new()1: This message requests the object implementing the IpMessagingManager interface to create an object implementing the IpMailbox interface. 2: Assumin
40、g that the criteria for creating an object implementing the IpMailbox interface is met, message 2 is used to create it. ETSI ETSI ES 202 915-9 V1.3.1 (2006-12) 105.3 Get Message :IpAppLogic: IpMailboxFolder : IpMessage : IpMailbox1: openFolder( )2: getInfoAmount( )3: getInfoProperties( )4: getMessag
41、e( )5: new()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 message from the
42、 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. ETSI ETSI ES 202 915-9 V1.3.1 (2006-12) 115.4 Get Folder Information :IpA ppLo gic: IpMailboxFolder1: getInfoAmount( )2: getInfoPr
43、operties( )3: getInfoProperties( )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. 5.5 Close Mailbox :IpAppL
44、ogic: IpMailbox1: close( )1: This message requests the object implementing the IpMailbox interface to de-assign. ETSI ETSI ES 202 915-9 V1.3.1 (2006-12) 126 Class Diagrams IpServicesetCallback()setCallbackWithSessionID()(f ro m c sap i)IpMessagingManager(from gms)IpMailbox(from gms)0n1IpMessage(from
45、 gms)IpMailboxFolder(f rom gms)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 inte
46、rfaces, zero or more IpMailboxFolder 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 +u
47、ses the IpMessagingManager channels. Communication with the IpMailbox and IpMailboxFolder interfaces has to be done via the application logic (not shown). ETSI ETSI ES 202 915-9 V1.3.1 (2006-12) 13IpInterface(from csapi)IpAppMessagingManagermailboxTerminated()mailboxFaultDetected()messagingEventNoti
48、fy()messagingNotificationTerminated()(from gms)IpMessagingManageropenMailbox()enableMessagingNotification()disableMessagingNotification()(from gms)IpMailboxclose()lock()unlock()getInfoAmount()getInfoProperties()setInfoProperties()openFolder()createFolder()remove()(from gms)1 0n10IpMailboxFoldergetIn
49、foAmount()getInfoProperties()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 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.
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1