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 15 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 Multi Media Messaging Service Capability Feature (SCF) aspects of the interface.
All aspects of the Multi Media 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 object modelling techniques described by the Unified Modelling Language (UML).

Status
Published
Publication Date
02-Jul-2008
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

Standard

ETSI ES 204 915-15 V1.1.1 (2008-02) - Open Service Access (OSA); Application Programming Interface (API); Part 15: Multi-Media Messaging SCF (Parlay 6)

English language (91 pages)
sale 15% off
Preview
sale 15% off
Preview
Standard

ETSI ES 204 915-15 V1.1.1 (2008-05) - Open Service Access (OSA); Application Programming Interface (API); Part 15: Multi-Media Messaging SCF (Parlay 6)

English language (91 pages)
sale 15% off
Preview
sale 15% off
Preview
Standardization document

SIST ES 204 915-15 V1.1.1:2008

English language (91 pages)
Preview
Preview
e-Library read for
×1 day

SIST ES 204 915-15 V1.1.1:2008 is an ETSI Standard for the Open Service Access (OSA) Application Programming Interface (API), Part 15 on the Multi-Media Messaging Service Capability Feature (SCF) known as Parlay 6. It specifies the service interface that lets application developers use network messaging functions through an open standardized interface, with support for both mailbox-based and non-mailbox messaging use cases.

What does SIST ES 204 915-15 V1.1.1:2008 specify?

SIST ES 204 915-15 V1.1.1:2008 specifies the Stage 3 API for the Multi Media Messaging SCF within OSA. It focuses on how applications invoke messaging functions, how the network returns results and notifications, and how the interface is described in UML-based artifacts.

The document is organized around the main interface views used to implement and test the service. Clause 5 gives sequence diagrams, clause 6 gives class diagrams, clause 7 gives the general service interface specification format, clause 8 defines the messaging interface classes, clause 9 covers state transition diagrams, clause 10 lists service properties, clause 11 defines data types, and clause 12 lists exception classes.

AnnexWhat it covers
Annex ANormative OMG IDL description of the Multi-Media Messaging SCF
Annex BInformative W3C WSDL description of the Multi-Media Messaging SCF
Annex CInformative Java API description of the Multi-Media Messaging SCF
Annex DInformative contents of 3GPP OSA R7 Multi-Media Messaging
Annex EInformative description for 3GPP2 cdma2000 networks
Annex FInformative record of changes

Clause 3 points to ES 204 915-1 for the general definitions and abbreviations used across the OSA series.

What are the key requirements of SIST ES 204 915-15 V1.1.1:2008?

SIST ES 204 915-15 V1.1.1:2008 defines how an application opens messaging objects, sends and receives messages, subscribes to notifications, and reads mailbox content. It also defines the callback methods the application must implement so the service can report asynchronous events.

Core implementation rule

Clause 4 states that if an implementation supports a method, it shall support the described functionality for at least one valid set of parameter values. If a service interface does not support a method, the call shall return P_METHOD_NOT_SUPPORTED.

That matters in practice because implementers cannot claim partial support without a working method path, and buyers can check whether the methods they need are actually available.

Service manager and callback setup

IpMultiMediaMessagingManager is the service manager for opening mailbox objects and MultiMediaMessaging objects, and for enabling or disabling event notifications. IpAppMultiMediaMessagingManager is the callback interface used by the application to receive mailbox termination reports, delivery and message notifications, and interruption or resumption notices.

IpService provides setCallback() and setCallbackWithSessionID(). That is the basic mechanism that lets the service call back into the application when results or events arrive later.

Mailbox-based messaging

IpMailbox provides mailbox access and manipulation functions such as creating folders, listing folders, listing messages, and getting message headers, content, or full messages. putMessageReq() places a message into a chosen folder, and the document explains that messages put into the folder named by the service property P_PUT_MESSAGE_FOLDER_TO_SEND are sent automatically.

This matters because mailbox use is not just storage - it can also be the sending path. The interface supports nested folders, case-sensitive names, and retrieval by folder and message identifiers.

Non-mailbox messaging

IpMultiMediaMessaging covers sending and receiving when the mailbox model is not used. Its main operations are sendMessageReq(), cancelMessageReq(), queryStatusReq(), close(), and sendMessageWithNotifyReq().

The send methods accept source and destination addresses, a TpMessageDeliveryType, a TpMessageTreatmentSet, the message body, and additional headers. In conflicts, the source and destination address parameters take priority over duplicate information in additionalHeaders. In practice, this means the caller should treat the address parameters as the authoritative routing data.

Notifications and message status

The sequence diagrams show three main event patterns: delivery and read receipts after sending, incoming message notifications, and delivery status reports requested through notification subscriptions. The document uses event criteria such as P_EVENT_MSG_NEW_MESSAGE_ARRIVED, P_EVENT_MSG_NEW_MAILBOX_MESSAGE_ARRIVED, and P_EVENT_MSG_STATUS_REPORT_ARRIVED.

IpAppMultiMediaMessaging receives the asynchronous results, including sendMessageRes(), sendMessageErr(), queryStatusRes(), messageStatusReport(), messageReceived(), and the sendMessageWithNotify response methods. In practice, this is how the application correlates an earlier request with later delivery or receipt information.

Service properties and access control

Clause 10 lists service properties for capability and policy control. P_MESSAGE_DELIVERY_TYPE and P_PUT_MESSAGE_FOLDER_TO_SEND describe service capabilities, while P_NOTIFICATION_ADDRESS_RANGES and P_SOURCE_ADDRESS_RANGES restrict which addresses can be used for notifications or as sender identities.

These properties matter for provisioning and governance because they let the service control what kinds of delivery are supported and which addresses are allowed under the service agreement.

Errors and exceptions

Clause 12 defines the exception classes used by the interface, including invalid mailbox, message, folder, part, delivery type, header, and size conditions. The methods also return messaging-specific errors such as invalid network state, resource unavailable, and resource timeout through the data definitions in clause 11.

For implementation and testing, that means client code must be prepared to handle both API-level exceptions and messaging-status errors.

What terms does SIST ES 204 915-15 V1.1.1:2008 define?

  • OSA - Open Service Access, the architecture that lets application developers use network functionality through an open standardized interface.
  • SCF - Service Capability Feature, the service area defined here for Multi-Media Messaging.
  • UML - Unified Modelling Language, the object-modelling technique used for the sequence, class, and state representations.
  • IDL - Interface Definition Language, used in Annex A for the OMG IDL description of the interface.
  • IpService - The base service interface that provides callback setup for service interactions.
  • Mailbox paradigm - The messaging model where messages are stored in folders inside a mailbox and can later be listed, queried, or retrieved.
  • AssignmentID - The identifier returned for a request so later status, result, or error callbacks can be matched to the original operation.

Who uses SIST ES 204 915-15 V1.1.1:2008?

Application developers use SIST ES 204 915-15 V1.1.1:2008 to build client software that sends messages, receives message events, and works with mailbox content through OSA APIs. Network and platform implementers use it to expose messaging capabilities in a standard way to applications.

It is relevant to teams working with voice mail, electronic mail, Instant Messaging (IM), SMS, MMS, and GSM USSD, because the document says the MultiMedia Messaging SCF supports those messaging mechanisms and contexts. It is also useful for testers, integrators, and quality teams validating callbacks, delivery reports, message retrieval, and folder operations.

Annex E is aimed at developers working in 3GPP2 cdma2000 network environments, where the OSA Stage 3 definitions are interpreted with the stated cdma2000-specific exceptions.

Which standards are used with SIST ES 204 915-15 V1.1.1:2008?

  • ETSI ES 204 915-1, Open Service Access (OSA); Application Programming Interface (API); Part 1: Overview (Parlay 6) - supplies the common definitions and abbreviations used here and defines the Java Realisation rules referenced by Annex C.
  • ETSI ES 204 915-2, Common Data Definitions - provides common data types that this part references but does not redefine.
  • 3GPP TS 29.198-15 V7.1.0 (Release 7) - the document is stated to be equivalent to this 3GPP part.
  • UML - used as the modelling approach for the interface structure, diagrams, and state descriptions.
  • OMG IDL, W3C WSDL, Java API realization rules - these are the realization formats covered in Annexes A, B, and C.

What does the SIST ES 204 915-15 V1.1.1:2008 document contain?

SIST ES 204 915-15 V1.1.1:2008 contains sequence diagrams for sending messages, receiving delivery notifications, using the same communication context for send and receive, subscribing to message arrival notifications, browsing a mailbox, using a mailbox for send and receive, and requesting status reports. It also contains class diagrams, detailed interface method descriptions, parameter definitions, and callback interfaces for the manager, mailbox, and message objects.

Clause 10 provides service-property tables for capability and policy control, while clause 11 expands the messaging data types, event notification data types, and error data types used by the methods. Clause 12 lists the exception classes and their meanings.

Clause 9 states that there are no State Transition Diagrams for the Multi-Media Messaging SCF, and the annexes provide alternative technical representations in IDL, WSDL, and Java, plus the 3GPP OSA R7 and cdma2000 contextual notes and a record of changes.

Buy Documents

Standard

ETSI ES 204 915-15 V1.1.1 (2008-02) - Open Service Access (OSA); Application Programming Interface (API); Part 15: Multi-Media Messaging SCF (Parlay 6)

English language (91 pages)
sale 15% off
Preview
sale 15% off
Preview
Standard

ETSI ES 204 915-15 V1.1.1 (2008-05) - Open Service Access (OSA); Application Programming Interface (API); Part 15: Multi-Media Messaging SCF (Parlay 6)

English language (91 pages)
sale 15% off
Preview
sale 15% off
Preview
Standardization document

SIST ES 204 915-15 V1.1.1:2008

English language (91 pages)
Preview
Preview
e-Library read for
×1 day

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.

UKAS United Kingdom Verified

NYCE

Mexican standards and certification body.

EMA Mexico Verified

Sponsored listings

Frequently Asked Questions

SIST ES 204 915-15 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 15: Multi-Media Messaging 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 15 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 Multi Media Messaging Service Capability Feature (SCF) aspects of the interface. All aspects of the Multi Media 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 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 15 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 Multi Media Messaging Service Capability Feature (SCF) aspects of the interface. All aspects of the Multi Media 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 object modelling techniques described by the Unified Modelling Language (UML).

SIST ES 204 915-15 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-15 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
  • 10 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 4 Multi Media Messaging SCF
  • 5 Sequence Diagrams
  • 5.1 Sending messages and receiving delivery notification
  • 11 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 12 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 5.2 Sending, and receiving messages in same context
  • 13 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 5.3 Setting notification of received messages
  • 14 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 5.4 Using Mailbox functions
  • 15 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 16 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 5.5 Using Mailbox to send and receive
  • 17 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 18 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 5.6 Setting notification of received messages
  • 19 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 6 Class Diagrams
  • 20 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 7 The Service Interface Specifications
  • 7.1 Interface Specification Format
  • 7.2 Base Interface
  • 21 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 7.3 Service Interfaces
  • 7.4 Generic Service Interface
  • 22 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 8 Multi Media Messaging Interface Classes
  • 8.1 Interface Class IpMultiMediaMessagingManager
  • 23 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 24 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 25 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 26 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 27 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 8.2 Interface Class IpAppMultiMediaMessagingManager
  • 28 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 29 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 30 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 8.3 Interface Class IpMailbox
  • 31 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 32 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 33 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 34 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 35 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 36 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 37 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 38 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 39 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 40 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 41 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 8.4 Interface Class IpAppMailbox
  • 42 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 43 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 44 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 45 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 46 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 47 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 48 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 49 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 50 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 51 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 52 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 53 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 54 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 55 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 56 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 8.5 Interface Class IpMultiMediaMessaging
  • 57 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 58 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 59 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 60 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 8.6 Interface Class IpAppMultiMediaMessaging
  • 61 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 62 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)
  • 63 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)

1 Scope

The present document is part 15 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 Multi Media Messaging Service Capability Feature (SCF) aspects of the interface. All aspects of the Multi Media 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 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

10 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)

4 Multi Media Messaging SCF

The following clauses describe each aspect of the Multi Media 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 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.

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.

5 Sequence Diagrams

5.1 Sending messages and receiving delivery notification

This sequence diagram shows how the application can send messages on the IpMultiMediaMessaging interface with sendMessageReq(), and how the application can be informed about the delivery status of the message with messageStatusReport(). It also shows how the application can query the delivery status of a message, with queryStatusReq().

ETSI

11 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)

AppLogic : IpAppMultiMediaMessagingManager : IpAppM ul tiM edi aM ess aging : IpMultiMediaMessagingManager : IpMultiMediaMessaging 1: new () 2: new () 3: openMultiMediaMessaging( ) 4: sendMessageReq( ) 5: sendMessageRes( ) 6: messageStatusReport( ) 7: messageStatusReport( ) 8: queryStatusReq( ) 9: queryStatusRes( ) 10: sendMessag eReq( ) 11: sendMessageRes( ) 12: sendMessag eReq( ) 13: sendMessageRes( ) 14: messageStatusReport( ) 15: messageStatusReport( )

3: Request the opening of a MultiMedia Messaging object. The application intends to use this object to send messages to multiple destinations, so it has not specified any defaultDestinationAddressList. 4: The application sends a message. The destination address is included in the destinationAddressList parameter. If the source address was not provided when the IpMultiMediaMessaging object was created, it can be provided in the sourceAddress parameter. The application has requested delivery receipt and read receipt in the messageTreatment parameter. The assignmentID received as a return parameter enables the application to match any message status information with this message.

5: This method indicates successful processing of the sendMessageReq by the SCF, and that the message has been sent. It does not indicate a delivery status.

ETSI

12 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)

6: This method contains a delivery receipt for the message just sent. 7: This method contains a read receipt for the message just sent. 8: The application queries the status of the message it has sent (to verify the read receipt? or it has discarded the read receipt?).

9: The status of the message is returned.

10: The application sends another message, this time to a different destination. It has requested a read receipt to be returned.

11: This method indicates successful processing of the sendMessageReq by the SCF, and that the message has been sent. It does not indicate a delivery status.

12: The application sends another message, to a different destination. It has requested a read receipt to be returned. 14: This method contains an indication that the previous message has been read. 15: This method contains an indication that the second message has been read. The assignmentID is used to match this report to the corresponding sendMessageReq().

5.2 Sending, and receiving messages in same context

This sequence diagram shows how the application can send and receive messages within the same communication context using sendMessageReq() on the IpMultiMediaMessaging interface and messageReceived() on the IpAppMultiMediaMessaging interface.

AppLogic : IpAppMultiMediaMessagingManager : IpAppMultiMediaMessaging : IpMultiMediaMessagingManager : IpMultiMediaMessaging 1: new () 2: new () 3: openMultiMediaMessaging( ) 4: sendMessageReq( ) 5: sendMessageRes( ) 6: sendMessageReq( ) 7: sendMessageRes( ) 8: messageReceiv ed( ) 9: 'f orward ev ent' 10: close( )

3: Request the opening of a MultiMedia Messaging object. The application intends to use this object to send messages to the same destination, so it has specified the defaultdestinationAddressList. The defaultSourceAddress is also specified.

ETSI

13 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)

4: The application sends a message. The application has not included a destination address in the destinationAddressList parameter, as a default value has already been supplied in the openMultiMediaMessaging() method. Likewise the default source address was provided when the IpMultiMediaMessaging object was created, so there is no need to provide the sourceAddress parameter. The application has not requested delivery receipt or read receipt in the messageTreatment parameter. 5: This method indicates successful processing of the sendMessageReq by the SCF, and that the message has been sent. It does not indicate a delivery status.

6: The application sends another message to the same destination, again using default values for the destination and source addresses.

7: This method indicates successful processing of the sendMessageReq by the SCF, and that the message has been sent. It does not indicate a delivery status.

8: A new message is received in this communication context. The full message contents are carried in this method. It is not specified how the SCF identifies that this message is to be delivered in this communication context. The SCF could use source or destination addresses, content type, time or subject, among other parameters, to identify the context.

10: The application closes the session, i.e. closes the communication context.

5.3 Setting notification of received messages

This sequence diagram shows how the application can subscribe to notifications, and how it can receive messages using reportNotifications() method.

AppLogic : IpAppMultiMediaMessagingManager : IpAppMultiMediaMessaging : IpMult iMediaMes sagingManager : IpMultiMediaMessaging 1: new () 2: new () 3: openMultiMediaMessaging( ) 4: createNotification( ) 5: reportNotification( ) 6: 'forward ev ent' 7: destroy Notification( )

3: The application requests the opening of a MultiMedia Messaging object. 4: The application requests to be notified of any messages received for a particular destination address, using the P_EVENT_MSG_NEW_MESSAGE_ARRIVED criteria. The application may request that a MultiMedia Messaging session is created upon receipt of a message.

ETSI

14 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)

5: A message is received for the destination address identified in the createNotification() method. In this type of event (P_EVENT_MSG_NEW_MESSAGE_ARRIVED), the entire message contents are delivered in the reportNotification() method.

7: The application is no longer interested in receiving notifications of received messages. It de-subscribes from notification of received messages.

5.4 Using Mailbox functions

This sequence diagram shows how an application can retrieve message details from the mailbox. ETSI

15 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)

AppLogic : IpAppMultiMediaMessagingManager : IpAppMailbox : IpMultiMediaMessagingManager : IpMailbox 1: new () 2: new () 3: openMailbox( ) 4: getMailboxInfoPropertiesReq( ) 5: getMailboxInfoPropertiesRes( ) 6: 'forward' 7: getFoldersReq( ) 8: getF oldersRes( ) 9: 'forward' 10: getFoldersReq( ) 11: getFoldersRes( ) 12: 'forward' 13: listMessagesReq( ) 14: listMessagesRes( ) 15: 'forward' 16: getMessageInfoPropertiesReq( ) 17: getMessageInfoPropertiesRes( ) 18: 'forward' 19: listMessageBodyPartsReq( ) 20: listMessageBodyPartsRes( ) 21: 'forward' 22: getMessageHeadersReq( ) 23: getMessageHeadersRes( ) 24: 'forward' 25: getMessageBodyPartsReq( ) 26: getMessageBodyPartsRes( ) 27: 'forward' 28: close( )

ETSI

16 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)

3: The application requests to open the mailbox identified by the mailboxID parameter. 4: The application requests the properties of the Mailbox.

5: The property set of the mailbox is returned. The properties include the owner, date created, date changed and size of the mailbox.

7: The application requests a list of the top-level folders in the mailbox. The folderID parameter is left empty. 8: The list of top-level folders is returned to the application. 10: The application requests a list of the sub-folders in a folder returned earlier. The folderID parameter identifies the folder for which the list of sub-folders is requested.

11: The list of sub-folders is returned to the application.

13: The application requests a list of messages in a folder returned earlier. The folderID parameter identifies the folder for which the list of messages is requested.

14: The list of messages in the folder is returned.

16: The application requests the property set of a message returned earlier. The message is identified by its messageID, returned in the listMessagesRes().

17: The message properties are returned. These properties may include the date created, date received, date changed, size or status.

19: The application requests a list of the body parts of the message identified in the messageID parameter. The location of the message is identified in the folderID parameter. 20: The list of the message parts is returned.

22: The application requests the set of headers of the message, identified by the messageID parameter. The location of the message is identified in the folderID parameter. 23: The list of headers is returned to the application.

25: The application retrieves one or more parts of the message, as identified in the partIDs parameter. 26: The contents of the requested messge parts are returned.

28: The application closes the mailbox session.

5.5 Using Mailbox to send and receive

This sequence diagram shows how an application can use a mailbox to send and receive messages, if this functionality is supported by the SCF.

ETSI

17 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)

AppLogic : IpAppMultiMediaM essaging Manager : IpAppMailbox : IpMultiMediaMessagingManager : IpMailbox 1: new () 2: new () 3: openMailbox( ) 4: createNotification( ) 5: putMessageReq( ) 6: putMessageRes( ) 7: 'forward' 8: reportNotification( ) 9: 'forward' 10: getFullMessageReq( ) 11: getFullMessageRes( ) 12: 'forward' 13: close( )

3: The application requests to open the mailbox identified by the mailboxID parameter. 4: The application requests to be notified of any messages received in the specified mailbox, using the P_EVENT_MSG_NEW_MAILBOX_MESSAGE_ARRIVED criteria.

5: The application places a message in a folder in the mailbox. The message contents are specified in the message parameter, and the folder in which to place it is specified in the folderID. The application chooses to place the message in the folder identified in the service property P_PUT_MESSAGE_FOLDER_TO_SEND. Any message placed in this folder is automatically sent. Typically it could be an Outbox folder. 6: This method indicates that the message has been successfully placed in the specified folder, and a messageID is returned. This does not necessarily indicate that the message has been sent, nor does it indicate that it has been delivered or received.

ETSI

18 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)

8: The application is notified that a message has been received in the mailbox. In this type of event (P_EVENT_MSG_NEW_MAILBOX_MESSAGE_ARRIVED), the messageID, location of the message and message description are delivered in the reportNotification() method, but the message contents are not. These need to be retrieved from the mailbox.

10: Using the messageID and folderID received in the reportNotification() method, the application requests to retrieve the full contents of the received message from the mailbox. The application could have chosen to retrieve individual parts of the message using getMessageBodyPartsReq(), or to retrieve just the headers using getMessageHeadersReq().

11: The full contents of the message are returned to the application. 13: The application closes the mailbox session.

5.6 Setting notification of received messages

This sequence diagram shows how the application can request delivery status reports by subscribing to notifications. AppLogic : : : :

IpAppMultiMediaMessagingManager IpAppMultiMediaMessaging IpMultiMediaMessagingManager IpM ultiMediaMessaging 1: new() 2: new() 3: openMultiMediaMessaging( ) 4: createNotification( ) 5: sendMessageWithNotifyReq( ) 6: sendMessageWithNotifyRes( ) 7: reportNotification( ) 8: 'forward event'

3: The application requests the opening of a MultiMedia Messaging object. 4: The application requests to be notified of any delivery status reports received for a particular message, using the P_EVENT_MSG_STATUS_REPORT_ARRIVED criteria. The application may request that a MultiMedia Messaging session is created upon receipt of a message.

5: The application sends a message.

6: This method indicates successful processing of the sendMessageWithNotifyReq by the SCF, and that the message has been sent. The MessageID, which uniquely identifies the message, is returned. It does not indicate a delivery status.

ETSI

19 Final draft ETSI ES 204 915-15 V1.1.1 (2008-02)

7: A delivery status report received for the message identified by the Message ID returned by sendMessageWithNotifyRes().The delivery status report is delivered in the reportNotification() method.

6 Class Diagrams

<<Interface>> IpAppMai lbox (from mmm) createFolde rRes() createFolde rErr() getFoldersRes() getFoldersE rr() deleteFolderRes() deleteFolderErr() copyFol derRes() copyFol derErr() <<Interfac...

moveFolderRes() IpI nterf ace moveFolderErr() (from csapi) putMessage Res() putMessageErr() copyMessageRes() copyMessageErr() mov eM essageRes() mov eM essageErr() deleteM essageRes() deleteM essageErr() listMessage sRes() listMessage sErr() <<Interface>> listMessage BodyPartsRes() IpAppM ultiMediaMessaging <<Interface>> listMessage BodyPartsErr() (f rom mmm) IpAppM ulti MediaMessagingManager getMessage Bod yPartsRes() (from mmm) getMessage Bod yPartsErr() sendMessageRes() getMessageHeadersRes() sendMessageErr() getMessage HeadersErr() mailboxTerminated() cancelMessageRes() getMessageContentRes() rep ort Noti fi cati on() cancelMessageErr() getMessageContentErr() notificationsInterrupted() queryStatusRes() getFullMessageRes() notificationsResumed() queryStatusErr() getFullMessageErr() multiM edi aMessagi ngT ermi nated() messageStatusReport() getMailboxInfoPropertiesRes() terminateM ultipleMail boxes() messageReceived() getFolderInfoProperti esRes() terminateM ultipleMultiMedi aMessagingSessi ons() sendMessageWithNotifyRes() getMessage InfoProp ertie sRe s() sendMessageWithNotifyErr() setMessageInfoPropertiesRes() setMessageInfoPropertiesErr() getMailboxInfoPropertiesErr() getFolderIn foProperti esE rr() getMessage InfoPropertie sErr() <<uses>> <<uses>> <<uses>> <<Interface>> IpMultiMediaMessagingManager (from mmm) <<Interface>> IpMultiMediaMessaging <<Interface>> openMailbox() IpMailbox (f rom mmm) openMultiMediaMessaging() (from mmm) createNotification() sendMessageReq() destroyNotification() cl ose() cancel MessageReq() changeNotification() queryStatusReq() createFolderReq() getNextNotification() clo se() getFoldersReq() enableNotifications() deleteFolderReq() sendMessageWi thNotifyReq() disableNotifications() copyFol derReq() moveFolderReq() putMessageReq() cop yM essag eRe q() mo veM essa geRe q() deleteMessageReq() li stMessagesReq() li stMessageBodyPartsReq () getMessageBodyPartsReq() getMessageHeadersReq() getMessageContentReq() getFull MessageReq() getMai lboxInfoPropertiesReq() getFolderInfoPropertiesReq() getMessageInfoProperti esReq() setMessageInfoProperti esReq() <<Interface>> IpServi ce (from csapi) setCallback() setCallbackWi thSe ssion ID()

Figure 1: Messaging Interfaces Overview ETSI

20 Final draft ETSI ES 204 915-15 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.

...

Contents

  • 1 Scope
  • 2 References
  • 3 Definitions and abbreviations
  • 3.1 Definitions
  • 3.2 Abbreviations
  • 10 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 4 Multi Media Messaging SCF
  • 5 Sequence Diagrams
  • 5.1 Sending messages and receiving delivery notification
  • 11 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 12 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 5.2 Sending, and receiving messages in same context
  • 13 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 5.3 Setting notification of received messages
  • 14 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 5.4 Using Mailbox functions
  • 15 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 16 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 5.5 Using Mailbox to send and receive
  • 17 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 18 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 5.6 Setting notification of received messages
  • 19 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 6 Class Diagrams
  • 20 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 7 The Service Interface Specifications
  • 7.1 Interface Specification Format
  • 7.2 Base Interface
  • 21 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 7.3 Service Interfaces
  • 7.4 Generic Service Interface
  • 22 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 8 Multi Media Messaging Interface Classes
  • 8.1 Interface Class IpMultiMediaMessagingManager
  • 23 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 24 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 25 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 26 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 27 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 8.2 Interface Class IpAppMultiMediaMessagingManager
  • 28 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 29 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 30 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 8.3 Interface Class IpMailbox
  • 31 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 32 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 33 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 34 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 35 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 36 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 37 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 38 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 39 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 40 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 41 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 8.4 Interface Class IpAppMailbox
  • 42 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 43 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 44 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 45 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 46 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 47 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 48 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 49 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 50 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 51 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 52 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 53 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 54 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 55 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 56 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 8.5 Interface Class IpMultiMediaMessaging
  • 57 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 58 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 59 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 60 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 8.6 Interface Class IpAppMultiMediaMessaging
  • 61 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 62 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 63 ETSI ES 204 915-15 V1.1.1 (2008-05)

1 Scope

The present document is part 15 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 Multi Media Messaging Service Capability Feature (SCF) aspects of the interface. All aspects of the Multi Media 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 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

10 ETSI ES 204 915-15 V1.1.1 (2008-05)

4 Multi Media Messaging SCF

The following clauses describe each aspect of the Multi Media 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 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.

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.

5 Sequence Diagrams

5.1 Sending messages and receiving delivery notification

This sequence diagram shows how the application can send messages on the IpMultiMediaMessaging interface with sendMessageReq(), and how the application can be informed about the delivery status of the message with messageStatusReport(). It also shows how the application can query the delivery status of a message, with queryStatusReq().

ETSI

11 ETSI ES 204 915-15 V1.1.1 (2008-05)

AppLogic : IpAppMultiMediaMessagingManager : IpAppM ul tiM edi aM ess aging : IpMultiMediaMessagingManager : IpMultiMediaMessaging 1: new () 2: new () 3: openMultiMediaMessaging( ) 4: sendMessageReq( ) 5: sendMessageRes( ) 6: messageStatusReport( ) 7: messageStatusReport( ) 8: queryStatusReq( ) 9: queryStatusRes( ) 10: sendMessag eReq( ) 11: sendMessageRes( ) 12: sendMessag eReq( ) 13: sendMessageRes( ) 14: messageStatusReport( ) 15: messageStatusReport( )

3: Request the opening of a MultiMedia Messaging object. The application intends to use this object to send messages to multiple destinations, so it has not specified any defaultDestinationAddressList. 4: The application sends a message. The destination address is included in the destinationAddressList parameter. If the source address was not provided when the IpMultiMediaMessaging object was created, it can be provided in the sourceAddress parameter. The application has requested delivery receipt and read receipt in the messageTreatment parameter. The assignmentID received as a return parameter enables the application to match any message status information with this message.

5: This method indicates successful processing of the sendMessageReq by the SCF, and that the message has been sent. It does not indicate a delivery status.

ETSI

12 ETSI ES 204 915-15 V1.1.1 (2008-05)

6: This method contains a delivery receipt for the message just sent. 7: This method contains a read receipt for the message just sent. 8: The application queries the status of the message it has sent (to verify the read receipt? or it has discarded the read receipt?).

9: The status of the message is returned.

10: The application sends another message, this time to a different destination. It has requested a read receipt to be returned.

11: This method indicates successful processing of the sendMessageReq by the SCF, and that the message has been sent. It does not indicate a delivery status.

12: The application sends another message, to a different destination. It has requested a read receipt to be returned. 14: This method contains an indication that the previous message has been read. 15: This method contains an indication that the second message has been read. The assignmentID is used to match this report to the corresponding sendMessageReq().

5.2 Sending, and receiving messages in same context

This sequence diagram shows how the application can send and receive messages within the same communication context using sendMessageReq() on the IpMultiMediaMessaging interface and messageReceived() on the IpAppMultiMediaMessaging interface.

AppLogic : IpAppMultiMediaMessagingManager : IpAppMultiMediaMessaging : IpMultiMediaMessagingManager : IpMultiMediaMessaging 1: new () 2: new () 3: openMultiMediaMessaging( ) 4: sendMessageReq( ) 5: sendMessageRes( ) 6: sendMessageReq( ) 7: sendMessageRes( ) 8: messageReceiv ed( ) 9: 'f orward ev ent' 10: close( )

3: Request the opening of a MultiMedia Messaging object. The application intends to use this object to send messages to the same destination, so it has specified the defaultdestinationAddressList. The defaultSourceAddress is also specified.

ETSI

13 ETSI ES 204 915-15 V1.1.1 (2008-05)

4: The application sends a message. The application has not included a destination address in the destinationAddressList parameter, as a default value has already been supplied in the openMultiMediaMessaging() method. Likewise the default source address was provided when the IpMultiMediaMessaging object was created, so there is no need to provide the sourceAddress parameter. The application has not requested delivery receipt or read receipt in the messageTreatment parameter. 5: This method indicates successful processing of the sendMessageReq by the SCF, and that the message has been sent. It does not indicate a delivery status.

6: The application sends another message to the same destination, again using default values for the destination and source addresses.

7: This method indicates successful processing of the sendMessageReq by the SCF, and that the message has been sent. It does not indicate a delivery status.

8: A new message is received in this communication context. The full message contents are carried in this method. It is not specified how the SCF identifies that this message is to be delivered in this communication context. The SCF could use source or destination addresses, content type, time or subject, among other parameters, to identify the context.

10: The application closes the session, i.e. closes the communication context.

5.3 Setting notification of received messages

This sequence diagram shows how the application can subscribe to notifications, and how it can receive messages using reportNotifications() method.

AppLogic : IpAppMultiMediaMessagingManager : IpAppMultiMediaMessaging : IpMult iMediaMes sagingManager : IpMultiMediaMessaging 1: new () 2: new () 3: openMultiMediaMessaging( ) 4: createNotification( ) 5: reportNotification( ) 6: 'forward ev ent' 7: destroy Notification( )

3: The application requests the opening of a MultiMedia Messaging object. 4: The application requests to be notified of any messages received for a particular destination address, using the P_EVENT_MSG_NEW_MESSAGE_ARRIVED criteria. The application may request that a MultiMedia Messaging session is created upon receipt of a message.

ETSI

14 ETSI ES 204 915-15 V1.1.1 (2008-05)

5: A message is received for the destination address identified in the createNotification() method. In this type of event (P_EVENT_MSG_NEW_MESSAGE_ARRIVED), the entire message contents are delivered in the reportNotification() method.

7: The application is no longer interested in receiving notifications of received messages. It de-subscribes from notification of received messages.

5.4 Using Mailbox functions

This sequence diagram shows how an application can retrieve message details from the mailbox. ETSI

15 ETSI ES 204 915-15 V1.1.1 (2008-05)

AppLogic : IpAppMultiMediaMessagingManager : IpAppMailbox : IpMultiMediaMessagingManager : IpMailbox 1: new () 2: new () 3: openMailbox( ) 4: getMailboxInfoPropertiesReq( ) 5: getMailboxInfoPropertiesRes( ) 6: 'forward' 7: getFoldersReq( ) 8: getF oldersRes( ) 9: 'forward' 10: getFoldersReq( ) 11: getFoldersRes( ) 12: 'forward' 13: listMessagesReq( ) 14: listMessagesRes( ) 15: 'forward' 16: getMessageInfoPropertiesReq( ) 17: getMessageInfoPropertiesRes( ) 18: 'forward' 19: listMessageBodyPartsReq( ) 20: listMessageBodyPartsRes( ) 21: 'forward' 22: getMessageHeadersReq( ) 23: getMessageHeadersRes( ) 24: 'forward' 25: getMessageBodyPartsReq( ) 26: getMessageBodyPartsRes( ) 27: 'forward' 28: close( )

ETSI

16 ETSI ES 204 915-15 V1.1.1 (2008-05)

3: The application requests to open the mailbox identified by the mailboxID parameter. 4: The application requests the properties of the Mailbox.

5: The property set of the mailbox is returned. The properties include the owner, date created, date changed and size of the mailbox.

7: The application requests a list of the top-level folders in the mailbox. The folderID parameter is left empty. 8: The list of top-level folders is returned to the application. 10: The application requests a list of the sub-folders in a folder returned earlier. The folderID parameter identifies the folder for which the list of sub-folders is requested.

11: The list of sub-folders is returned to the application.

13: The application requests a list of messages in a folder returned earlier. The folderID parameter identifies the folder for which the list of messages is requested.

14: The list of messages in the folder is returned.

16: The application requests the property set of a message returned earlier. The message is identified by its messageID, returned in the listMessagesRes().

17: The message properties are returned. These properties may include the date created, date received, date changed, size or status.

19: The application requests a list of the body parts of the message identified in the messageID parameter. The location of the message is identified in the folderID parameter. 20: The list of the message parts is returned.

22: The application requests the set of headers of the message, identified by the messageID parameter. The location of the message is identified in the folderID parameter. 23: The list of headers is returned to the application.

25: The application retrieves one or more parts of the message, as identified in the partIDs parameter. 26: The contents of the requested messge parts are returned.

28: The application closes the mailbox session.

5.5 Using Mailbox to send and receive

This sequence diagram shows how an application can use a mailbox to send and receive messages, if this functionality is supported by the SCF.

ETSI

17 ETSI ES 204 915-15 V1.1.1 (2008-05)

AppLogic : IpAppMultiMediaM essaging Manager : IpAppMailbox : IpMultiMediaMessagingManager : IpMailbox 1: new () 2: new () 3: openMailbox( ) 4: createNotification( ) 5: putMessageReq( ) 6: putMessageRes( ) 7: 'forward' 8: reportNotification( ) 9: 'forward' 10: getFullMessageReq( ) 11: getFullMessageRes( ) 12: 'forward' 13: close( )

3: The application requests to open the mailbox identified by the mailboxID parameter. 4: The application requests to be notified of any messages received in the specified mailbox, using the P_EVENT_MSG_NEW_MAILBOX_MESSAGE_ARRIVED criteria.

5: The application places a message in a folder in the mailbox. The message contents are specified in the message parameter, and the folder in which to place it is specified in the folderID. The application chooses to place the message in the folder identified in the service property P_PUT_MESSAGE_FOLDER_TO_SEND. Any message placed in this folder is automatically sent. Typically it could be an Outbox folder. 6: This method indicates that the message has been successfully placed in the specified folder, and a messageID is returned. This does not necessarily indicate that the message has been sent, nor does it indicate that it has been delivered or received.

ETSI

18 ETSI ES 204 915-15 V1.1.1 (2008-05)

8: The application is notified that a message has been received in the mailbox. In this type of event (P_EVENT_MSG_NEW_MAILBOX_MESSAGE_ARRIVED), the messageID, location of the message and message description are delivered in the reportNotification() method, but the message contents are not. These need to be retrieved from the mailbox.

10: Using the messageID and folderID received in the reportNotification() method, the application requests to retrieve the full contents of the received message from the mailbox. The application could have chosen to retrieve individual parts of the message using getMessageBodyPartsReq(), or to retrieve just the headers using getMessageHeadersReq().

11: The full contents of the message are returned to the application. 13: The application closes the mailbox session.

5.6 Setting notification of received messages

This sequence diagram shows how the application can request delivery status reports by subscribing to notifications. AppLogic : : : :

IpAppMultiMediaMessagingManager IpAppMultiMediaMessaging IpMultiMediaMessagingManager IpM ultiMediaMessaging 1: new() 2: new() 3: openMultiMediaMessaging( ) 4: createNotification( ) 5: sendMessageWithNotifyReq( ) 6: sendMessageWithNotifyRes( ) 7: reportNotification( ) 8: 'forward event'

3: The application requests the opening of a MultiMedia Messaging object. 4: The application requests to be notified of any delivery status reports received for a particular message, using the P_EVENT_MSG_STATUS_REPORT_ARRIVED criteria. The application may request that a MultiMedia Messaging session is created upon receipt of a message.

5: The application sends a message.

6: This method indicates successful processing of the sendMessageWithNotifyReq by the SCF, and that the message has been sent. The MessageID, which uniquely identifies the message, is returned. It does not indicate a delivery status.

ETSI

19 ETSI ES 204 915-15 V1.1.1 (2008-05)

7: A delivery status report received for the message identified by the Message ID returned by sendMessageWithNotifyRes().The delivery status report is delivered in the reportNotification() method.

6 Class Diagrams

<<Interface>> IpAppMai lbox (from mmm) createFolde rRes() createFolde rErr() getFoldersRes() getFoldersE rr() deleteFolderRes() deleteFolderErr() copyFol derRes() copyFol derErr() <<Interfac...

moveFolderRes() IpI nterf ace moveFolderErr() (from csapi) putMessage Res() putMessageErr() copyMessageRes() copyMessageErr() mov eM essageRes() mov eM essageErr() deleteM essageRes() deleteM essageErr() listMessage sRes() listMessage sErr() <<Interface>> listMessage BodyPartsRes() IpAppM ultiMediaMessaging <<Interface>> listMessage BodyPartsErr() (f rom mmm) IpAppM ulti MediaMessagingManager getMessage Bod yPartsRes() (from mmm) getMessage Bod yPartsErr() sendMessageRes() getMessageHeadersRes() sendMessageErr() getMessage HeadersErr() mailboxTerminated() cancelMessageRes() getMessageContentRes() rep ort Noti fi cati on() cancelMessageErr() getMessageContentErr() notificationsInterrupted() queryStatusRes() getFullMessageRes() notificationsResumed() queryStatusErr() getFullMessageErr() multiM edi aMessagi ngT ermi nated() messageStatusReport() getMailboxInfoPropertiesRes() terminateM ultipleMail boxes() messageReceived() getFolderInfoProperti esRes() terminateM ultipleMultiMedi aMessagingSessi ons() sendMessageWithNotifyRes() getMessage InfoProp ertie sRe s() sendMessageWithNotifyErr() setMessageInfoPropertiesRes() setMessageInfoPropertiesErr() getMailboxInfoPropertiesErr() getFolderIn foProperti esE rr() getMessage InfoPropertie sErr() <<uses>> <<uses>> <<uses>> <<Interface>> IpMultiMediaMessagingManager (from mmm) <<Interface>> IpMultiMediaMessaging <<Interface>> openMailbox() IpMailbox (f rom mmm) openMultiMediaMessaging() (from mmm) createNotification() sendMessageReq() destroyNotification() cl ose() cancel MessageReq() changeNotification() queryStatusReq() createFolderReq() getNextNotification() clo se() getFoldersReq() enableNotifications() deleteFolderReq() sendMessageWi thNotifyReq() disableNotifications() copyFol derReq() moveFolderReq() putMessageReq() cop yM essag eRe q() mo veM essa geRe q() deleteMessageReq() li stMessagesReq() li stMessageBodyPartsReq () getMessageBodyPartsReq() getMessageHeadersReq() getMessageContentReq() getFull MessageReq() getMai lboxInfoPropertiesReq() getFolderInfoPropertiesReq() getMessageInfoProperti esReq() setMessageInfoProperti esReq() <<Interface>> IpServi ce (from csapi) setCallback() setCallbackWi thSe ssion ID()

Figure 1: Messaging Interfaces Overview ETSI

20 ETSI ES 204 915-15 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.

...

Contents

  • 1 Scope
  • 2 References
  • 3 Definitions and abbreviations
  • 3.1 Definitions
  • 3.2 Abbreviations
  • 10 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 4 Multi Media Messaging SCF
  • 5 Sequence Diagrams
  • 5.1 Sending messages and receiving delivery notification
  • 11 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 12 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 5.2 Sending, and receiving messages in same context
  • 13 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 5.3 Setting notification of received messages
  • 14 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 5.4 Using Mailbox functions
  • 15 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 16 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 5.5 Using Mailbox to send and receive
  • 17 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 18 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 5.6 Setting notification of received messages
  • 19 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 6 Class Diagrams
  • 20 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 7 The Service Interface Specifications
  • 7.1 Interface Specification Format
  • 7.2 Base Interface
  • 21 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 7.3 Service Interfaces
  • 7.4 Generic Service Interface
  • 22 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 8 Multi Media Messaging Interface Classes
  • 8.1 Interface Class IpMultiMediaMessagingManager
  • 23 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 24 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 25 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 26 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 27 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 8.2 Interface Class IpAppMultiMediaMessagingManager
  • 28 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 29 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 30 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 8.3 Interface Class IpMailbox
  • 31 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 32 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 33 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 34 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 35 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 36 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 37 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 38 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 39 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 40 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 41 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 8.4 Interface Class IpAppMailbox
  • 42 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 43 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 44 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 45 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 46 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 47 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 48 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 49 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 50 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 51 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 52 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 53 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 54 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 55 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 56 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 8.5 Interface Class IpMultiMediaMessaging
  • 57 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 58 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 59 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 60 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 8.6 Interface Class IpAppMultiMediaMessaging
  • 61 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 62 ETSI ES 204 915-15 V1.1.1 (2008-05)
  • 63 ETSI ES 204 915-15 V1.1.1 (2008-05)

1 Scope

The present document is part 15 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 Multi Media Messaging Service Capability Feature (SCF) aspects of the interface. All aspects of the Multi Media 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 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-15 V1.1.1:2008

10 ETSI ES 204 915-15 V1.1.1 (2008-05)

4 Multi Media Messaging SCF

The following clauses describe each aspect of the Multi Media 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 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.

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.

5 Sequence Diagrams

5.1 Sending messages and receiving delivery notification

This sequence diagram shows how the application can send messages on the IpMultiMediaMessaging interface with sendMessageReq(), and how the application can be informed about the delivery status of the message with messageStatusReport(). It also shows how the application can query the delivery status of a message, with queryStatusReq().

ETSI

SIST ES 204 915-15 V1.1.1:2008

11 ETSI ES 204 915-15 V1.1.1 (2008-05)

AppLogic : IpAppMultiMediaMessagingManager : IpAppM ul tiM edi aM ess aging : IpMultiMediaMessagingManager : IpMultiMediaMessaging 1: new () 2: new () 3: openMultiMediaMessaging( ) 4: sendMessageReq( ) 5: sendMessageRes( ) 6: messageStatusReport( ) 7: messageStatusReport( ) 8: queryStatusReq( ) 9: queryStatusRes( ) 10: sendMessag eReq( ) 11: sendMessageRes( ) 12: sendMessag eReq( ) 13: sendMessageRes( ) 14: messageStatusReport( ) 15: messageStatusReport( )

3: Request the opening of a MultiMedia Messaging object. The application intends to use this object to send messages to multiple destinations, so it has not specified any defaultDestinationAddressList. 4: The application sends a message. The destination address is included in the destinationAddressList parameter. If the source address was not provided when the IpMultiMediaMessaging object was created, it can be provided in the sourceAddress parameter. The application has requested delivery receipt and read receipt in the messageTreatment parameter. The assignmentID received as a return parameter enables the application to match any message status information with this message.

5: This method indicates successful processing of the sendMessageReq by the SCF, and that the message has been sent. It does not indicate a delivery status.

ETSI

SIST ES 204 915-15 V1.1.1:2008

12 ETSI ES 204 915-15 V1.1.1 (2008-05)

6: This method contains a delivery receipt for the message just sent. 7: This method contains a read receipt for the message just sent. 8: The application queries the status of the message it has sent (to verify the read receipt? or it has discarded the read receipt?).

9: The status of the message is returned.

10: The application sends another message, this time to a different destination. It has requested a read receipt to be returned.

11: This method indicates successful processing of the sendMessageReq by the SCF, and that the message has been sent. It does not indicate a delivery status.

12: The application sends another message, to a different destination. It has requested a read receipt to be returned. 14: This method contains an indication that the previous message has been read. 15: This method contains an indication that the second message has been read. The assignmentID is used to match this report to the corresponding sendMessageReq().

5.2 Sending, and receiving messages in same context

This sequence diagram shows how the application can send and receive messages within the same communication context using sendMessageReq() on the IpMultiMediaMessaging interface and messageReceived() on the IpAppMultiMediaMessaging interface.

AppLogic : IpAppMultiMediaMessagingManager : IpAppMultiMediaMessaging : IpMultiMediaMessagingManager : IpMultiMediaMessaging 1: new () 2: new () 3: openMultiMediaMessaging( ) 4: sendMessageReq( ) 5: sendMessageRes( ) 6: sendMessageReq( ) 7: sendMessageRes( ) 8: messageReceiv ed( ) 9: 'f orward ev ent' 10: close( )

3: Request the opening of a MultiMedia Messaging object. The application intends to use this object to send messages to the same destination, so it has specified the defaultdestinationAddressList. The defaultSourceAddress is also specified.

ETSI

SIST ES 204 915-15 V1.1.1:2008

13 ETSI ES 204 915-15 V1.1.1 (2008-05)

4: The application sends a message. The application has not included a destination address in the destinationAddressList parameter, as a default value has already been supplied in the openMultiMediaMessaging() method. Likewise the default source address was provided when the IpMultiMediaMessaging object was created, so there is no need to provide the sourceAddress parameter. The application has not requested delivery receipt or read receipt in the messageTreatment parameter. 5: This method indicates successful processing of the sendMessageReq by the SCF, and that the message has been sent. It does not indicate a delivery status.

6: The application sends another message to the same destination, again using default values for the destination and source addresses.

7: This method indicates successful processing of the sendMessageReq by the SCF, and that the message has been sent. It does not indicate a delivery status.

8: A new message is received in this communication context. The full message contents are carried in this method. It is not specified how the SCF identifies that this message is to be delivered in this communication context. The SCF could use source or destination addresses, content type, time or subject, among other parameters, to identify the context.

10: The application closes the session, i.e. closes the communication context.

5.3 Setting notification of received messages

This sequence diagram shows how the application can subscribe to notifications, and how it can receive messages using reportNotifications() method.

AppLogic : IpAppMultiMediaMessagingManager : IpAppMultiMediaMessaging : IpMult iMediaMes sagingManager : IpMultiMediaMessaging 1: new () 2: new () 3: openMultiMediaMessaging( ) 4: createNotification( ) 5: reportNotification( ) 6: 'forward ev ent' 7: destroy Notification( )

3: The application requests the opening of a MultiMedia Messaging object. 4: The application requests to be notified of any messages received for a particular destination address, using the P_EVENT_MSG_NEW_MESSAGE_ARRIVED criteria. The application may request that a MultiMedia Messaging session is created upon receipt of a message.

ETSI

SIST ES 204 915-15 V1.1.1:2008

14 ETSI ES 204 915-15 V1.1.1 (2008-05)

5: A message is received for the destination address identified in the createNotification() method. In this type of event (P_EVENT_MSG_NEW_MESSAGE_ARRIVED), the entire message contents are delivered in the reportNotification() method.

7: The application is no longer interested in receiving notifications of received messages. It de-subscribes from notification of received messages.

5.4 Using Mailbox functions

This sequence diagram shows how an application can retrieve message details from the mailbox. ETSI

SIST ES 204 915-15 V1.1.1:2008

15 ETSI ES 204 915-15 V1.1.1 (2008-05)

AppLogic : IpAppMultiMediaMessagingManager : IpAppMailbox : IpMultiMediaMessagingManager : IpMailbox 1: new () 2: new () 3: openMailbox( ) 4: getMailboxInfoPropertiesReq( ) 5: getMailboxInfoPropertiesRes( ) 6: 'forward' 7: getFoldersReq( ) 8: getF oldersRes( ) 9: 'forward' 10: getFoldersReq( ) 11: getFoldersRes( ) 12: 'forward' 13: listMessagesReq( ) 14: listMessagesRes( ) 15: 'forward' 16: getMessageInfoPropertiesReq( ) 17: getMessageInfoPropertiesRes( ) 18: 'forward' 19: listMessageBodyPartsReq( ) 20: listMessageBodyPartsRes( ) 21: 'forward' 22: getMessageHeadersReq( ) 23: getMessageHeadersRes( ) 24: 'forward' 25: getMessageBodyPartsReq( ) 26: getMessageBodyPartsRes( ) 27: 'forward' 28: close( )

ETSI

SIST ES 204 915-15 V1.1.1:2008

16 ETSI ES 204 915-15 V1.1.1 (2008-05)

3: The application requests to open the mailbox identified by the mailboxID parameter. 4: The application requests the properties of the Mailbox.

5: The property set of the mailbox is returned. The properties include the owner, date created, date changed and size of the mailbox.

7: The application requests a list of the top-level folders in the mailbox. The folderID parameter is left empty. 8: The list of top-level folders is returned to the application. 10: The application requests a list of the sub-folders in a folder returned earlier. The folderID parameter identifies the folder for which the list of sub-folders is requested.

11: The list of sub-folders is returned to the application.

13: The application requests a list of messages in a folder returned earlier. The folderID parameter identifies the folder for which the list of messages is requested.

14: The list of messages in the folder is returned.

16: The application requests the property set of a message returned earlier. The message is identified by its messageID, returned in the listMessagesRes().

17: The message properties are returned. These properties may include the date created, date received, date changed, size or status.

19: The application requests a list of the body parts of the message identified in the messageID parameter. The location of the message is identified in the folderID parameter. 20: The list of the message parts is returned.

22: The application requests the set of headers of the message, identified by the messageID parameter. The location of the message is identified in the folderID parameter. 23: The list of headers is returned to the application.

25: The application retrieves one or more parts of the message, as identified in the partIDs parameter. 26: The contents of the requested messge parts are returned.

28: The application closes the mailbox session.

5.5 Using Mailbox to send and receive

This sequence diagram shows how an application can use a mailbox to send and receive messages, if this functionality is supported by the SCF.

ETSI

SIST ES 204 915-15 V1.1.1:2008

17 ETSI ES 204 915-15 V1.1.1 (2008-05)

AppLogic : IpAppMultiMediaM essaging Manager : IpAppMailbox : IpMultiMediaMessagingManager : IpMailbox 1: new () 2: new () 3: openMailbox( ) 4: createNotification( ) 5: putMessageReq( ) 6: putMessageRes( ) 7: 'forward' 8: reportNotification( ) 9: 'forward' 10: getFullMessageReq( ) 11: getFullMessageRes( ) 12: 'forward' 13: close( )

3: The application requests to open the mailbox identified by the mailboxID parameter. 4: The application requests to be notified of any messages received in the specified mailbox, using the P_EVENT_MSG_NEW_MAILBOX_MESSAGE_ARRIVED criteria.

5: The application places a message in a folder in the mailbox. The message contents are specified in the message parameter, and the folder in which to place it is specified in the folderID. The application chooses to place the message in the folder identified in the service property P_PUT_MESSAGE_FOLDER_TO_SEND. Any message placed in this folder is automatically sent. Typically it could be an Outbox folder. 6: This method indicates that the message has been successfully placed in the specified folder, and a messageID is returned. This does not necessarily indicate that the message has been sent, nor does it indicate that it has been delivered or received.

ETSI

SIST ES 204 915-15 V1.1.1:2008

18 ETSI ES 204 915-15 V1.1.1 (2008-05)

8: The application is notified that a message has been received in the mailbox. In this type of event (P_EVENT_MSG_NEW_MAILBOX_MESSAGE_ARRIVED), the messageID, location of the message and message description are delivered in the reportNotification() method, but the message contents are not. These need to be retrieved from the mailbox.

10: Using the messageID and folderID received in the reportNotification() method, the application requests to retrieve the full contents of the received message from the mailbox. The application could have chosen to retrieve individual parts of the message using getMessageBodyPartsReq(), or to retrieve just the headers using getMessageHeadersReq().

11: The full contents of the message are returned to the application. 13: The application closes the mailbox session.

5.6 Setting notification of received messages

This sequence diagram shows how the application can request delivery status reports by subscribing to notifications. AppLogic : : : :

IpAppMultiMediaMessagingManager IpAppMultiMediaMessaging IpMultiMediaMessagingManager IpM ultiMediaMessaging 1: new() 2: new() 3: openMultiMediaMessaging( ) 4: createNotification( ) 5: sendMessageWithNotifyReq( ) 6: sendMessageWithNotifyRes( ) 7: reportNotification( ) 8: 'forward event'

3: The application requests the opening of a MultiMedia Messaging object. 4: The application requests to be notified of any delivery status reports received for a particular message, using the P_EVENT_MSG_STATUS_REPORT_ARRIVED criteria. The application may request that a MultiMedia Messaging session is created upon receipt of a message.

5: The application sends a message.

6: This method indicates successful processing of the sendMessageWithNotifyReq by the SCF, and that the message has been sent. The MessageID, which uniquely identifies the message, is returned. It does not indicate a delivery status.

ETSI

SIST ES 204 915-15 V1.1.1:2008

19 ETSI ES 204 915-15 V1.1.1 (2008-05)

7: A delivery status report received for the message identified by the Message ID returned by sendMessageWithNotifyRes().The delivery status report is delivered in the reportNotification() method.

6 Class Diagrams

<<Interface>> IpAppMai lbox (from mmm) createFolde rRes() createFolde rErr() getFoldersRes() getFoldersE rr() deleteFolderRes() deleteFolderErr() copyFol derRes() copyFol derErr() <<Interfac...

moveFolderRes() IpI nterf ace moveFolderErr() (from csapi) putMessage Res() putMessageErr() copyMessageRes() copyMessageErr() mov eM essageRes() mov eM essageErr() deleteM essageRes() deleteM essageErr() listMessage sRes() listMessage sErr() <<Interface>> listMessage BodyPartsRes() IpAppM ultiMediaMessaging <<Interface>> listMessage BodyPartsErr() (f rom mmm) IpAppM ulti MediaMessagingManager getMessage Bod yPartsRes() (from mmm) getMessage Bod yPartsErr() sendMessageRes() getMessageHeadersRes() sendMessageErr() getMessage HeadersErr() mailboxTerminated() cancelMessageRes() getMessageContentRes() rep ort Noti fi cati on() cancelMessageErr() getMessageContentErr() notificationsInterrupted() queryStatusRes() getFullMessageRes() notificationsResumed() queryStatusErr() getFullMessageErr() multiM edi aMessagi ngT ermi nated() messageStatusReport() getMailboxInfoPropertiesRes() terminateM ultipleMail boxes() messageReceived() getFolderInfoProperti esRes() terminateM ultipleMultiMedi aMessagingSessi ons() sendMessageWithNotifyRes() getMessage InfoProp ertie sRe s() sendMessageWithNotifyErr() setMessageInfoPropertiesRes() setMessageInfoPropertiesErr() getMailboxInfoPropertiesErr() getFolderIn foProperti esE rr() getMessage InfoPropertie sErr() <<uses>> <<uses>> <<uses>> <<Interface>> IpMultiMediaMessagingManager (from mmm) <<Interface>> IpMultiMediaMessaging <<Interface>> openMailbox() IpMailbox (f rom mmm) openMultiMediaMessaging() (from mmm) createNotification() sendMessageReq() destroyNotification() cl ose() cancel MessageReq() changeNotification() queryStatusReq() createFolderReq() getNextNotification() clo se() getFoldersReq() enableNotifications() deleteFolderReq() sendMessageWi thNotifyReq() disableNotifications() copyFol derReq() moveFolderReq() putMessageReq() cop yM essag eRe q() mo veM essa geRe q() deleteMessageReq() li stMessagesReq() li stMessageBodyPartsReq () getMessageBodyPartsReq() getMessageHeadersReq() getMessageContentReq() getFull MessageReq() getMai lboxInfoPropertiesReq() getFolderInfoPropertiesReq() getMessageInfoProperti esReq() setMessageInfoProperti esReq() <<Interface>> IpServi ce (from csapi) setCallback() setCallbackWi thSe ssion ID()

Figure 1: Messaging Interfaces Overview ETSI

SIST ES 204 915-15 V1.1.1:2008

20 ETSI ES 204 915-15 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>.

...