2 //Date: 1 September 2004
3 //Multi Media Messaging for draft ETSI ES 203 915-15 v.0.0.2, DES/TISPAN-01005-15-OSA, Parlay 5.0
20 interface IpMultiMediaMessaging
;
21 interface IpAppMailbox
;
22 interface IpAppMultiMediaMessaging
;
24 struct TpMailboxIdentifier
{
26 TpSessionID SessionID
;
30 exception P_MMM_INVALID_AUTHENTICATION_INFORMATION
{
31 TpString ExtraInformation
;
35 exception P_MMM_INVALID_MAILBOX
{
36 TpString ExtraInformation
;
40 struct TpMultiMediaMessagingIdentifier
{
41 IpMultiMediaMessaging MultiMediaMessaging
;
42 TpSessionID SessionID
;
46 exception P_MMM_INVALID_DELIVERY_TYPE
{
47 TpString ExtraInformation
;
51 enum TpFolderInfoPropertyName
{
53 P_MMM_FOLDER_UNDEFINED
,
54 P_MMM_FOLDER_DATE_CREATED
,
55 P_MMM_FOLDER_DATE_CHANGED
,
57 P_MMM_FOLDER_NUMBER_OF_MESSAGES
61 union TpFolderInfoProperty
switch(TpFolderInfoPropertyName
) {
62 case P_MMM_FOLDER_DATE_CREATED
: TpDateAndTime FolderDateCreated
;
63 case P_MMM_FOLDER_DATE_CHANGED
: TpDateAndTime FolderDateChanged
;
64 case P_MMM_FOLDER_SIZE
: TpInt32 FolderSize
;
65 case P_MMM_FOLDER_NUMBER_OF_MESSAGES
: TpInt32 FolderNumberOfMessages
;
70 typedef sequence
<TpFolderInfoProperty
> TpFolderInfoPropertySet
;
73 enum TpMailboxInfoPropertyName
{
75 P_MMM_MAILBOX_UNDEFINED
,
77 P_MMM_MAILBOX_DATE_CREATED
,
78 P_MMM_MAILBOX_DATE_CHANGED
,
83 union TpMailboxInfoProperty
switch(TpMailboxInfoPropertyName
) {
84 case P_MMM_MAILBOX_OWNER
: TpString MailboxOwner
;
85 case P_MMM_MAILBOX_DATE_CREATED
: TpDateAndTime MailboxDateCreated
;
86 case P_MMM_MAILBOX_DATE_CHANGED
: TpDateAndTime MailboxDateChanged
;
87 case P_MMM_MAILBOX_SIZE
: TpInt32 MailboxSize
;
92 enum TpMessageInfoPropertyName
{
94 P_MMM_MESSAGE_UNDEFINED
,
95 P_MMM_MESSAGE_DATE_CREATED
,
96 P_MMM_MESSAGE_DATE_RECEIVED
,
97 P_MMM_MESSAGE_DATE_CHANGED
,
103 enum TpMessagePriority
{
105 P_MMM_MESSAGE_PRIORITY_UNDEFINED
,
106 P_MMM_MESSAGE_PRIORITY_HIGH
,
107 P_MMM_MESSAGE_PRIORITY_LOW
111 typedef sequence
<TpMailboxInfoProperty
> TpMailboxInfoPropertySet
;
114 struct TpListMessagesCriteria
{
115 TpBoolean OnlyUnreadMessages
;
119 struct TpMailboxFolderStatusInformation
{
120 TpInt32 TotalMessageCount
;
124 struct TpMessageDescription
{
129 TpDateAndTime ReceivedDate
;
134 typedef sequence
<TpMessageDescription
> TpMessageDescriptionList
;
137 struct TpBodyPartDescription
{
138 TpString ContentDescription
;
140 TpString ContentType
;
141 TpString ContentTransferEncoding
;
143 TpString ContentDisposition
;
145 TpInt32 NestingLevel
;
149 typedef sequence
<TpBodyPartDescription
> TpBodyPartDescriptionList
;
153 TpBodyPartDescription BodyPartHeader
;
154 TpOctetSet BodyPartContent
;
158 typedef sequence
<TpBodyPart
> TpBodyPartList
;
161 enum TpMessageHeaderFieldType
{
170 P_MESSAGE_RFC822_MESSAGE_ID
,
171 P_MESSAGE_IN_REPLY_TO
,
172 P_MESSAGE_REFERENCES
,
176 P_MESSAGE_TRACE_FIELD
,
177 P_MESSAGE_RESENT_FIELD
,
178 P_MESSAGE_MIME_VERSION
,
179 P_MESSAGE_MIME_CONTENT
,
180 P_MESSAGE_MIME_ENCODING
,
182 P_MESSAGE_MIME_DESCRIPTION
,
183 P_MESSAGE_MIME_DISPOSITION
,
184 P_MESSAGE_MIME_EXTENSION_FIELD
,
185 P_MESSAGE_EXTENSION_FIELD
,
190 enum TpMailboxMessageStatus
{
192 P_MMM_RECEIVED_MSG_STATUS_READ
,
193 P_MMM_RECEIVED_MSG_STATUS_UNREAD
,
194 P_MMM_RECEIVED_MSG_STATUS_FORWARDED
,
195 P_MMM_RECEIVED_MSG_STATUS_REPLIED_TO
,
196 P_MMM_DRAFT_MSG_STATUS_SAVED_OR_UNSENT
,
197 P_MMM_SENT_MSG_STATUS_SENT
,
198 P_MMM_SENT_MSG_STATUS_DELIVERED
,
199 P_MMM_SENT_MSG_STATUS_READ
,
200 P_MMM_SENT_MSG_STATUS_DELETED_UNREAD
,
201 P_MMM_SENT_MSG_STATUS_NOT_DELIVERABLE
,
202 P_MMM_SENT_MSG_STATUS_EXPIRED
206 union TpMessageInfoProperty
switch(TpMessageInfoPropertyName
) {
207 case P_MMM_MESSAGE_DATE_CREATED
: TpDateAndTime MessageDateCreated
;
208 case P_MMM_MESSAGE_DATE_RECEIVED
: TpDateAndTime MessageDateReceived
;
209 case P_MMM_MESSAGE_DATE_CHANGED
: TpDateAndTime MessageDateChanged
;
210 case P_MMM_MESSAGE_SIZE
: TpInt32 MessageSize
;
211 case P_MMM_MESSAGE_STATUS
: TpMailboxMessageStatus MessageStatus
;
212 default: short Dummy
;
216 typedef sequence
<TpMessageInfoProperty
> TpMessageInfoPropertySet
;
219 struct TpGenericHeaderField
{
225 union TpMessageHeaderField
switch(TpMessageHeaderFieldType
) {
226 case P_MESSAGE_DATE_SENT
: TpDateAndTime DateSent
;
227 case P_MESSAGE_SENT_FROM
: TpAddressSet From
;
228 case P_MESSAGE_SENDER
: TpAddress Sender
;
229 case P_MESSAGE_REPLY_TO
: TpAddressSet ReplyTo
;
230 case P_MESSAGE_SENT_TO
: TpAddressSet To
;
231 case P_MESSAGE_CC_TO
: TpAddressSet Cc
;
232 case P_MESSAGE_BCC_TO
: TpAddressSet Bcc
;
233 case P_MESSAGE_RFC822_MESSAGE_ID
: TpString RFC822MessageID
;
234 case P_MESSAGE_IN_REPLY_TO
: TpStringSet InReplyTo
;
235 case P_MESSAGE_REFERENCES
: TpStringSet References
;
236 case P_MESSAGE_SUBJECT
: TpString Subject
;
237 case P_MESSAGE_COMMENTS
: TpString Comments
;
238 case P_MESSAGE_KEYWORDS
: TpStringSet Keywords
;
239 case P_MESSAGE_TRACE_FIELD
: TpGenericHeaderField TraceField
;
240 case P_MESSAGE_RESENT_FIELD
: TpGenericHeaderField ResentField
;
241 case P_MESSAGE_MIME_VERSION
: TpString MimeVersion
;
242 case P_MESSAGE_MIME_CONTENT
: TpString MimeContent
;
243 case P_MESSAGE_MIME_ENCODING
: TpString MimeEncoding
;
244 case P_MESSAGE_MIME_ID
: TpString MimeID
;
245 case P_MESSAGE_MIME_DESCRIPTION
: TpString MimeDescription
;
246 case P_MESSAGE_MIME_DISPOSITION
: TpString MimeDisposition
;
247 case P_MESSAGE_MIME_EXTENSION_FIELD
: TpGenericHeaderField MimeExtensionField
;
248 case P_MESSAGE_EXTENSION_FIELD
: TpGenericHeaderField ExtensionField
;
249 case P_MESSAGE_PRIORITY
: TpMessagePriority Priority
;
253 typedef sequence
<TpMessageHeaderField
> TpMessageHeaderFieldSet
;
256 enum TpSetPropertyError
{
258 P_MMM_PROPERTY_NOT_SET
,
259 P_MMM_PROPERTY_READONLY
,
260 P_MMM_PROPERTY_INSUFFICIENT_PRIVILEGE
,
261 P_MMM_PROPERTY_NAME_UNKNOWN
265 struct TpMessageInfoPropertyError
{
266 TpMessageInfoPropertyName MessagePropertyName
;
267 TpSetPropertyError Error
;
271 typedef sequence
<TpMessageInfoPropertyError
> TpMessageInfoPropertyErrorSet
;
274 enum TpMessagingEventName
{
276 P_EVENT_MSG_NAME_UNDEFINED
,
277 P_EVENT_MSG_NEW_MAILBOX_MESSAGE_ARRIVED
,
278 P_EVENT_MSG_NEW_MESSAGE_ARRIVED
282 struct TpNewMailboxMessageArrivedCriteria
{
284 TpString AuthenticationInfo
;
288 struct TpNewMailboxMessageArrivedInfo
{
291 TpMessageDescriptionList MessageDescription
;
292 TpMessageHeaderFieldSet ExtendedHeaderInformation
;
296 typedef TpInt32 TpMessageDeliveryReportType
;
299 const TpMessageDeliveryReportType P_MESSAGE_REPORT_DELIVERY_UNDEFINED
= 0;
301 const TpMessageDeliveryReportType P_MESSAGE_REPORT_DELIVERED
= 1;
303 const TpMessageDeliveryReportType P_MESSAGE_REPORT_READ
= 2;
305 const TpMessageDeliveryReportType P_MESSAGE_REPORT_DELETED_UNREAD
= 4;
307 const TpMessageDeliveryReportType P_MESSAGE_REPORT_NOT_DELIVERABLE
= 8;
309 const TpMessageDeliveryReportType P_MESSAGE_REPORT_EXPIRED
= 16;
311 struct TpQueryStatusReport
{
312 TpAddress DestinationAddress
;
313 TpMessageDeliveryReportType ReportedStatus
;
317 typedef sequence
<TpQueryStatusReport
> TpQueryStatusReportSet
;
320 enum TpDeliveryTimeType
{
322 P_MMM_SEND_IMMEDIATE
,
327 union TpDeliveryTime
switch(TpDeliveryTimeType
) {
328 case P_MMM_DELIVERY_TIME
: TpDateAndTime DeliveryTime
;
329 default: short Dummy
;
333 typedef TpString TpMessageDeliveryType
;
336 const TpMessageDeliveryType P_MMM_SMS
= "P_MMM_SMS";
338 const TpMessageDeliveryType P_MMM_SMS_BINARY
= "P_MMM_SMS_BINARY";
340 const TpMessageDeliveryType P_MMM_MMS
= "P_MMM_MMS";
342 const TpMessageDeliveryType P_MMM_WAP_PUSH
= "P_MMM_WAP_PUSH";
344 const TpMessageDeliveryType P_MMM_EMAIL
= "P_MMM_EMAIL";
346 enum TpMessageTreatmentType
{
348 P_MMM_TREATMENT_UNDEFINED
,
349 P_MMM_TREATMENT_REPORT_REQUESTED
,
350 P_MMM_TREATMENT_BILLING_ID
,
351 P_MMM_TREATMENT_DELIVERY_TIME
,
352 P_MMM_TREATMENT_VALIDITY_TIME
356 union TpMessageTreatment
switch(TpMessageTreatmentType
) {
357 case P_MMM_TREATMENT_REPORT_REQUESTED
: TpMessageDeliveryReportType DeliveryReport
;
358 case P_MMM_TREATMENT_BILLING_ID
: TpString BillingID
;
359 case P_MMM_TREATMENT_DELIVERY_TIME
: TpDeliveryTime DeliveryTime
;
360 case P_MMM_TREATMENT_VALIDITY_TIME
: TpDateAndTime ValidityTime
;
364 typedef sequence
<TpMessageTreatment
> TpMessageTreatmentSet
;
367 struct TpTerminatingAddressList
{
368 TpAddressSet ToAddressList
;
369 TpAddressSet CcAddressList
;
370 TpAddressSet BccAddressList
;
374 exception P_MMM_MAX_MESSAGE_SIZE_EXCEEDED
{
375 TpString ExtraInformation
;
379 exception P_MMM_INVALID_FOLDER_ID
{
380 TpString ExtraInformation
;
384 exception P_MMM_INVALID_MESSAGE_ID
{
385 TpString ExtraInformation
;
389 exception P_MMM_INVALID_PART_ID
{
390 TpString ExtraInformation
;
394 exception P_MMM_DELIVERY_TYPE_ADDRESS_TYPE_MISMATCH
{
395 TpString ExtraInformation
;
399 exception P_MMM_DELIVERY_TYPE_MESSAGE_TYPE_MISMATCH
{
400 TpString ExtraInformation
;
404 exception P_MMM_INVALID_PROPERTY
{
405 TpString ExtraInformation
;
409 enum TpMessagingError
{
411 P_MMM_ERROR_UNDEFINED
,
412 P_MMM_ERROR_INVALID_AUTHENTICATION_INFORMATION
,
413 P_MMM_ERROR_INVALID_MAILBOX
,
414 P_MMM_ERROR_INVALID_DELIVERY_TYPE
,
415 P_MMM_ERROR_MAX_MESSAGE_SIZE_EXCEEDED
,
416 P_MMM_ERROR_INVALID_FOLDER_ID
,
417 P_MMM_ERROR_INVALID_MESSAGE_ID
,
418 P_MMM_ERROR_INVALID_PART_ID
,
419 P_MMM_ERROR_DELIVERY_TYPE_ADDRESS_TYPE_MISMATCH
,
420 P_MMM_ERROR_DELIVERY_TYPE_MESSAGE_TYPE_MISMATCH
,
421 P_MMM_ERROR_INVALID_DELIVERY_TIME
,
422 P_MMM_ERROR_INVALID_VALIDITY_TIME
,
423 P_MMM_ERROR_MAX_SUBJECT_SIZE_EXCEEDED
,
424 P_MMM_ERROR_INVALID_ID
,
425 P_MMM_ERROR_INVALID_NESTING_LEVEL
,
426 P_MMM_ERROR_INVALID_CRITERIA
,
427 P_MMM_ERROR_INFORMATION_NOT_AVAILABLE
,
428 P_MMM_ERROR_CANNOT_CANCEL
,
429 P_MMM_ERROR_INVALID_HEADER
,
430 P_MMM_INVALID_NETWORK_STATE
,
431 P_MMM_ERROR_RESOURCE_UNAVAILABLE
,
432 P_MMM_ERROR_RESOURCE_TIMEOUT
436 exception P_MMM_INVALID_DELIVERY_TIME
{
437 TpString ExtraInformation
;
441 exception P_MMM_INVALID_VALIDITY_TIME
{
442 TpString ExtraInformation
;
446 exception P_MMM_MAX_SUBJECT_SIZE_EXCEEDED
{
447 TpString ExtraInformation
;
451 exception P_MMM_INFORMATION_NOT_AVAILABLE
{
452 TpString ExtraInformation
;
456 exception P_MMM_CANNOT_CANCEL
{
457 TpString ExtraInformation
;
461 exception P_MMM_INVALID_HEADER
{
462 TpString ExtraInformation
;
466 struct TpNewMessageArrivedCriteria
{
467 TpAddressRange SourceAddress
;
468 TpAddressRange DestinationAddress
;
469 TpBoolean CreateMultiMediaMessagingSession
;
473 union TpMessagingEventCriteria
switch(TpMessagingEventName
) {
474 case P_EVENT_MSG_NEW_MAILBOX_MESSAGE_ARRIVED
: TpNewMailboxMessageArrivedCriteria EventNewMailboxMessageArrived
;
475 case P_EVENT_MSG_NEW_MESSAGE_ARRIVED
: TpNewMessageArrivedCriteria EventNewMessageArrived
;
476 default: short Dummy
;
480 typedef sequence
<TpMessagingEventCriteria
> TpMessagingEventCriteriaSet
;
483 struct TpMessagingNotificationRequested
{
484 TpMessagingEventCriteriaSet EventCriteria
;
485 TpInt32 AssignmentID
;
489 typedef sequence
<TpMessagingNotificationRequested
> TpMessagingNotificationRequestedSet
;
492 struct TpMessagingNotificationRequestedSetEntry
{
493 TpMessagingNotificationRequestedSet MessagingNotificationRequestedSet
;
498 struct TpNewMessageArrivedInfo
{
499 TpAddress SourceAddress
;
500 TpAddressSet DestinationAddressSet
;
502 TpMessageHeaderFieldSet Headers
;
503 TpMultiMediaMessagingIdentifier MultiMediaMessagingIdentifier
;
507 union TpMessagingEventInfo
switch(TpMessagingEventName
) {
508 case P_EVENT_MSG_NAME_UNDEFINED
: TpString EventNameUndefined
;
509 case P_EVENT_MSG_NEW_MAILBOX_MESSAGE_ARRIVED
: TpNewMailboxMessageArrivedInfo EventNewMailboxMessageArrived
;
510 case P_EVENT_MSG_NEW_MESSAGE_ARRIVED
: TpNewMessageArrivedInfo EventNewMessageArrived
;
514 typedef sequence
<TpMessagingEventInfo
> TpMessagingEventInfoSet
;
517 typedef sequence
<TpMailboxIdentifier
> TpMailboxIdentifierSet
;
520 typedef sequence
<TpMultiMediaMessagingIdentifier
> TpMultiMediaMessagingIdentifierSet
;
523 interface IpAppMultiMediaMessagingManager
: IpInterface
{
524 void mailboxTerminated
(
525 in TpMailboxIdentifier mailboxIdentifier
528 IpAppMultiMediaMessaging reportNotification
(
529 in TpAssignmentID assignmentID
,
530 in TpMessagingEventInfoSet eventInfo
533 void notificationsInterrupted
();
535 void notificationsResumed
();
537 void multiMediaMessagingTerminated
(
538 in TpMultiMediaMessagingIdentifier multimediaMessagingIdentifier
541 void terminateMultipleMailboxes
(
542 in TpMailboxIdentifierSet mailboxSet
545 void terminateMultipleMultiMediaMessagingSessions
(
546 in TpMultiMediaMessagingIdentifierSet multiMediaMessagingSet
552 interface IpMultiMediaMessagingManager
: IpService
{
553 TpMailboxIdentifier openMailbox
(
554 in TpString mailboxID
,
555 in TpString authenticationInfo
,
556 in IpAppMailbox appMailbox
558 raises
(TpCommonExceptions
,P_MMM_INVALID_MAILBOX
,P_MMM_INVALID_AUTHENTICATION_INFORMATION
,P_INVALID_INTERFACE_TYPE
);
560 TpMultiMediaMessagingIdentifier openMultiMediaMessaging
(
561 in TpTerminatingAddressList defaultDestinationAddressList
,
562 in TpAddress defaultSourceAddress
,
563 in IpAppMultiMediaMessaging appMultiMediaMessaging
565 raises
(TpCommonExceptions
,P_INVALID_INTERFACE_TYPE
,P_INVALID_ADDRESS
);
567 TpAssignmentID createNotification
(
568 in IpAppMultiMediaMessagingManager appMultiMediaMessagingManager
,
569 in TpMessagingEventCriteriaSet eventCriteria
571 raises
(TpCommonExceptions
,P_INVALID_CRITERIA
,P_INVALID_INTERFACE_TYPE
);
573 void destroyNotification
(
574 in TpAssignmentID assignmentID
576 raises
(TpCommonExceptions
,P_INVALID_ASSIGNMENT_ID
);
578 void changeNotification
(
579 in TpAssignmentID assignmentID
,
580 in TpMessagingEventCriteriaSet eventCriteria
582 raises
(TpCommonExceptions
,P_INVALID_ASSIGNMENT_ID
,P_INVALID_CRITERIA
);
584 TpMessagingNotificationRequestedSetEntry getNextNotification
(
587 raises
(TpCommonExceptions
);
589 TpAssignmentID enableNotifications
(
590 in IpAppMultiMediaMessagingManager appMultiMediaMessagingManager
592 raises
(TpCommonExceptions
,P_INVALID_INTERFACE_TYPE
);
594 void disableNotifications
()
595 raises
(TpCommonExceptions
);
599 interface IpAppMailbox
: IpInterface
{
600 void createFolderRes
(
601 in TpSessionID mailboxSessionID
,
602 in TpAssignmentID requestID
,
606 void createFolderErr
(
607 in TpSessionID mailboxSessionID
,
608 in TpAssignmentID requestID
,
609 in TpMessagingError error
,
610 in TpString errorDetails
614 in TpSessionID mailboxSessionID
,
615 in TpAssignmentID requestID
,
616 in TpString folderID
,
617 in TpStringList folderNames
621 in TpSessionID mailboxSessionID
,
622 in TpAssignmentID requestID
,
623 in TpString folderID
,
624 in TpMessagingError error
,
625 in TpString errorDetails
628 void deleteFolderRes
(
629 in TpSessionID mailboxSessionID
,
630 in TpAssignmentID requestID
633 void deleteFolderErr
(
634 in TpSessionID mailboxSessionID
,
635 in TpAssignmentID requestID
,
636 in TpMessagingError error
,
637 in TpString errorDetails
641 in TpSessionID mailboxSessionID
,
642 in TpAssignmentID requestID
646 in TpSessionID mailboxSessionID
,
647 in TpAssignmentID requestID
,
648 in TpMessagingError error
,
649 in TpString errorDetails
653 in TpSessionID mailboxSessionID
,
654 in TpAssignmentID requestID
658 in TpSessionID mailboxSessionID
,
659 in TpAssignmentID requestID
,
660 in TpMessagingError error
,
661 in TpString errorDetails
665 in TpSessionID mailboxSessionID
,
666 in TpAssignmentID requestID
,
667 in TpString messageID
671 in TpSessionID mailboxSessionID
,
672 in TpAssignmentID requestID
,
673 in TpMessagingError error
,
674 in TpString errorDetails
677 void copyMessageRes
(
678 in TpSessionID mailboxSessionID
,
679 in TpAssignmentID requestID
682 void copyMessageErr
(
683 in TpSessionID mailboxSessionID
,
684 in TpAssignmentID requestID
,
685 in TpMessagingError error
,
686 in TpString errorDetails
689 void moveMessageRes
(
690 in TpSessionID mailboxSessionID
,
691 in TpAssignmentID requestID
694 void moveMessageErr
(
695 in TpSessionID mailboxSessionID
,
696 in TpAssignmentID requestID
,
697 in TpMessagingError error
,
698 in TpString errorDetails
701 void deleteMessageRes
(
702 in TpSessionID mailboxSessionID
,
703 in TpAssignmentID requestID
706 void deleteMessageErr
(
707 in TpSessionID mailboxSessionID
,
708 in TpAssignmentID requestID
,
709 in TpMessagingError error
,
710 in TpString errorDetails
713 void listMessagesRes
(
714 in TpSessionID mailboxSessionID
,
715 in TpAssignmentID requestID
,
716 in TpMessageDescriptionList messageList
,
717 in TpMailboxFolderStatusInformation mailboxStatusInfo
,
721 void listMessagesErr
(
722 in TpSessionID mailboxSessionID
,
723 in TpAssignmentID requestID
,
724 in TpMessagingError error
,
725 in TpString errorDetails
728 void listMessageBodyPartsRes
(
729 in TpSessionID mailboxSessionID
,
730 in TpAssignmentID requestID
,
731 in TpBodyPartDescriptionList partsList
734 void listMessageBodyPartsErr
(
735 in TpSessionID mailboxSessionID
,
736 in TpAssignmentID requestID
,
737 in TpMessagingError error
,
738 in TpString errorDetails
741 void getMessageBodyPartsRes
(
742 in TpSessionID mailboxSessionID
,
743 in TpAssignmentID requestID
,
744 in TpBodyPartList bodyParts
747 void getMessageBodyPartsErr
(
748 in TpSessionID mailboxSessionID
,
749 in TpAssignmentID requestID
,
750 in TpMessagingError error
,
751 in TpString errorDetails
754 void getMessageHeadersRes
(
755 in TpSessionID mailboxSessionID
,
756 in TpAssignmentID requestID
,
757 in TpMessageHeaderFieldSet headers
760 void getMessageHeadersErr
(
761 in TpSessionID mailboxSessionID
,
762 in TpAssignmentID requestID
,
763 in TpMessagingError error
,
764 in TpString errorDetails
767 void getMessageContentRes
(
768 in TpSessionID mailboxSessionID
,
769 in TpAssignmentID requestID
,
770 in TpString contentType
,
771 in TpString contentTransferEncoding
,
772 in TpOctetSet content
775 void getMessageContentErr
(
776 in TpSessionID mailboxSessionID
,
777 in TpAssignmentID requestID
,
778 in TpMessagingError error
,
779 in TpString errorDetails
782 void getFullMessageRes
(
783 in TpSessionID mailboxSessionID
,
784 in TpAssignmentID requestID
,
785 in TpOctetSet
message
788 void getFullMessageErr
(
789 in TpSessionID mailboxSessionID
,
790 in TpAssignmentID requestID
,
791 in TpMessagingError error
,
792 in TpString errorDetails
795 void getMailboxInfoPropertiesRes
(
796 in TpSessionID mailboxSessionID
,
797 in TpAssignmentID requestID
,
798 in TpMailboxInfoPropertySet returnedProperties
801 void getFolderInfoPropertiesRes
(
802 in TpSessionID mailboxSessionID
,
803 in TpAssignmentID requestID
,
804 in TpString folderID
,
805 in TpFolderInfoPropertySet returnedProperties
808 void getMessageInfoPropertiesRes
(
809 in TpSessionID mailboxSessionID
,
810 in TpAssignmentID requestID
,
811 in TpString messageID
,
812 in TpMessageInfoPropertySet returnedProperties
815 void setMessageInfoPropertiesRes
(
816 in TpSessionID mailboxSessionID
,
817 in TpAssignmentID requestID
,
818 in TpString messageID
,
819 in TpMessageInfoPropertySet propertiesUpdated
822 void setMessageInfoPropertiesErr
(
823 in TpSessionID mailboxSessionID
,
824 in TpAssignmentID requestID
,
825 in TpString messageID
,
826 in TpMessageInfoPropertyErrorSet propertiesNotUpdated
829 void getMailboxInfoPropertiesErr
(
830 in TpSessionID mailboxSessionID
,
831 in TpAssignmentID requestID
,
832 in TpMessagingError error
,
833 in TpString errorDetails
836 void getFolderInfoPropertiesErr
(
837 in TpSessionID mailboxSessionID
,
838 in TpAssignmentID requestID
,
839 in TpMessagingError error
,
840 in TpString errorDetails
843 void getMessageInfoPropertiesErr
(
844 in TpSessionID mailboxSessionID
,
845 in TpAssignmentID requestID
,
846 in TpMessagingError error
,
847 in TpString errorDetails
853 interface IpMailbox
: IpService
{
855 in TpSessionID mailboxSessionID
857 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
);
859 TpAssignmentID createFolderReq
(
860 in TpSessionID mailboxSessionID
,
863 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_MMM_INVALID_FOLDER_ID
);
865 TpAssignmentID getFoldersReq
(
866 in TpSessionID mailboxSessionID
,
869 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_MMM_INVALID_FOLDER_ID
);
871 TpAssignmentID deleteFolderReq
(
872 in TpSessionID mailboxSessionID
,
875 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_MMM_INVALID_FOLDER_ID
);
877 TpAssignmentID copyFolderReq
(
878 in TpSessionID mailboxSessionID
,
879 in TpString sourceFolderID
,
880 in TpString destinationFolderID
882 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_MMM_INVALID_FOLDER_ID
);
884 TpAssignmentID moveFolderReq
(
885 in TpSessionID mailboxSessionID
,
886 in TpString sourceFolderID
,
887 in TpString destinationFolderID
889 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_MMM_INVALID_FOLDER_ID
);
891 TpAssignmentID putMessageReq
(
892 in TpSessionID mailboxSessionID
,
893 in TpString folderID
,
894 in TpOctetSet
message
896 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_MMM_INVALID_FOLDER_ID
,P_MMM_MAX_MESSAGE_SIZE_EXCEEDED
);
898 TpAssignmentID copyMessageReq
(
899 in TpSessionID mailboxSessionID
,
900 in TpString fromFolderID
,
901 in TpString toFolderID
,
902 in TpString messageID
904 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_MMM_INVALID_FOLDER_ID
,P_MMM_INVALID_MESSAGE_ID
);
906 TpAssignmentID moveMessageReq
(
907 in TpSessionID mailboxSessionID
,
908 in TpString fromFolderID
,
909 in TpString toFolderID
,
910 in TpString messageID
912 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_MMM_INVALID_FOLDER_ID
,P_MMM_INVALID_MESSAGE_ID
);
914 TpAssignmentID deleteMessageReq
(
915 in TpSessionID mailboxSessionID
,
916 in TpString fromFolderID
,
917 in TpString messageID
919 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_MMM_INVALID_FOLDER_ID
,P_MMM_INVALID_MESSAGE_ID
);
921 TpAssignmentID listMessagesReq
(
922 in TpSessionID mailboxSessionID
,
923 in TpString folderID
,
924 in TpListMessagesCriteria criteria
,
927 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_MMM_INVALID_FOLDER_ID
,P_INVALID_CRITERIA
);
929 TpAssignmentID listMessageBodyPartsReq
(
930 in TpSessionID mailboxSessionID
,
931 in TpString folderID
,
932 in TpString messageID
,
933 in TpInt32 maxNestingLevel
935 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_MMM_INVALID_FOLDER_ID
,P_MMM_INVALID_MESSAGE_ID
);
937 TpAssignmentID getMessageBodyPartsReq
(
938 in TpSessionID mailboxSessionID
,
939 in TpString folderID
,
940 in TpString messageID
,
941 in TpStringList partIDs
943 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_MMM_INVALID_FOLDER_ID
,P_MMM_INVALID_MESSAGE_ID
,P_MMM_INVALID_PART_ID
);
945 TpAssignmentID getMessageHeadersReq
(
946 in TpSessionID mailboxSessionID
,
947 in TpString folderID
,
948 in TpString messageID
950 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_MMM_INVALID_FOLDER_ID
,P_MMM_INVALID_MESSAGE_ID
);
952 TpAssignmentID getMessageContentReq
(
953 in TpSessionID mailboxSessionID
,
954 in TpString folderID
,
955 in TpString messageID
957 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_MMM_INVALID_FOLDER_ID
,P_MMM_INVALID_MESSAGE_ID
);
959 TpAssignmentID getFullMessageReq
(
960 in TpSessionID mailboxSessionID
,
961 in TpString folderID
,
962 in TpString messageID
964 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_MMM_INVALID_FOLDER_ID
,P_MMM_INVALID_MESSAGE_ID
);
966 TpAssignmentID getMailboxInfoPropertiesReq
(
967 in TpSessionID mailboxSessionID
969 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
);
971 TpAssignmentID getFolderInfoPropertiesReq
(
972 in TpSessionID mailboxSessionID
,
975 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_MMM_INVALID_FOLDER_ID
);
977 TpAssignmentID getMessageInfoPropertiesReq
(
978 in TpSessionID mailboxSessionID
,
979 in TpString messageID
981 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_MMM_INVALID_MESSAGE_ID
);
983 TpAssignmentID setMessageInfoPropertiesReq
(
984 in TpSessionID mailboxSessionID
,
985 in TpString messageID
,
986 in TpMessageInfoPropertySet properties
988 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_MMM_INVALID_MESSAGE_ID
,P_MMM_INVALID_PROPERTY
);
993 interface IpAppMultiMediaMessaging
: IpInterface
{
994 void sendMessageRes
(
995 in TpSessionID sessionID
,
996 in TpAssignmentID assignmentID
999 void sendMessageErr
(
1000 in TpSessionID sessionID
,
1001 in TpAssignmentID assignmentID
,
1002 in TpMessagingError error
,
1003 in TpString errorDetails
1006 void cancelMessageRes
(
1007 in TpSessionID sessionID
,
1008 in TpAssignmentID assignmentID
1011 void cancelMessageErr
(
1012 in TpSessionID sessionID
,
1013 in TpAssignmentID assignmentID
,
1014 in TpMessagingError error
,
1015 in TpString errorDetails
1018 void queryStatusRes
(
1019 in TpSessionID sessionID
,
1020 in TpAssignmentID assignmentID
,
1021 in TpQueryStatusReportSet result
1024 void queryStatusErr
(
1025 in TpSessionID sessionID
,
1026 in TpAssignmentID assignmentID
,
1027 in TpMessagingError error
,
1028 in TpString errorDetails
1031 void messageStatusReport
(
1032 in TpSessionID sessionID
,
1033 in TpAssignmentID assignmentID
,
1034 in TpAddress destinationAddress
,
1035 in TpMessageDeliveryReportType deliveryReportType
,
1036 in TpString deliveryReportInfo
1039 void messageReceived
(
1040 in TpSessionID sessionID
,
1041 in TpOctetSet
message,
1042 in TpMessageHeaderFieldSet headers
1048 interface IpMultiMediaMessaging
: IpService
{
1049 TpAssignmentID sendMessageReq
(
1050 in TpSessionID sessionID
,
1051 in TpAddress sourceAddress
,
1052 in TpTerminatingAddressList destinationAddressList
,
1053 in TpMessageDeliveryType deliveryType
,
1054 in TpMessageTreatmentSet messageTreatment
,
1055 in TpOctetSet
message,
1056 in TpMessageHeaderFieldSet additionalHeaders
1058 raises
(TpCommonExceptions
,P_INVALID_SESSION_ID
,P_INVALID_ADDRESS
,P_MMM_INVALID_DELIVERY_TYPE
,P_MMM_MAX_MESSAGE_SIZE_EXCEEDED
,P_MMM_DELIVERY_TYPE_ADDRESS_TYPE_MISMATCH
,P_MMM_DELIVERY_TYPE_MESSAGE_TYPE_MISMATCH
,P_MMM_INVALID_DELIVERY_TIME
,P_MMM_INVALID_VALIDITY_TIME
,P_MMM_MAX_SUBJECT_SIZE_EXCEEDED
,P_MMM_INVALID_HEADER
);
1060 void cancelMessageReq
(
1061 in TpSessionID sessionID
,
1062 in TpAssignmentID assignmentID
1064 raises
(TpCommonExceptions
, P_INVALID_SESSION_ID
, P_INVALID_ASSIGNMENT_ID
,P_INVALID_NETWORK_STATE
,P_MMM_CANNOT_CANCEL
);
1066 void queryStatusReq
(
1067 in TpSessionID sessionID
,
1068 in TpAssignmentID assignmentID
1070 raises
(TpCommonExceptions
, P_INVALID_SESSION_ID
, P_INVALID_ASSIGNMENT_ID
,P_MMM_INFORMATION_NOT_AVAILABLE
);
1073 in TpSessionID sessionID
1075 raises
(TpCommonExceptions
, P_INVALID_SESSION_ID
);