OVERVIEW   INDEX   DEPRECATED   HELP   CORRESPONDENCES   |
|
| Constants Summary | |
|---|---|
| dash | |
| cln | |
| year | |
| yearExpansion | |
| month | |
| dayOfMonth | |
| hour | |
| minute | |
| second | |
| sFraction | |
| endOfDayExt | |
| ZorTimeZoneExt | |
type charstring Token;
type octetstring Data;
type enumerated HeaderName {
TO_E,
FROM_E,
CC_E ,
DATETIME_E,
SUBJECT_E,
NS_E,
REQUIREDHEADERS_E,
DISPOSITIONNOTIFICATION_E,
MESSAGEID_E,
ORIGINALTO_E,
IMDNRECORDROUTE_E,
IMDNROUTE_E,
CONTENTTYPE_E,
CONTENTID_E
}
type enumerated Notify_Req_Types
{
negativedelivery,
positivedelivery,
processing,
displayd
}
type record CPIMMessage
{
Header header,
Content content
}
type record Header{
ToPath toPath,
FromPath fromPath,
CCPath cc optional,
DateTime dateTime,
Subject subject optional,
PathNS ns,
RequireHeaders require optional,
Disposition_Notification dispositionNotif,
Message_ID messageID,
Original_To originalTo optional,
IMDN_Record_Route recordRoute optional,
IMDN_Route route optional
}
type record ToPath
{
HeaderName headerName (TO_E),
charstring formalName optional,
URI uri
}
type record FromPath
{
HeaderName headerName (FROM_E),
charstring formalName optional,
URI uri
}
type record CCPath
{
HeaderName headerName (CC_E),
charstring formalName optional,
URI uri
}
type record RequireHeader
{
charstring headerName
}
type record DateTime{
HeaderName headerName (DATETIME_E),
charstring datetime(pattern
"{yearExpansion}{year}{dash}{month}{dash}{dayOfMonth}T({hour}{cln}{minute}{cln}{second}" &
"{sFraction}|{endOfDayExt}){ZorTimeZoneExt}" )
}
type record Subject{
HeaderName headerName (SUBJECT_E),
Lang langParam optional,
charstring subject
}
type record PathNS
{
HeaderName headerName (NS_E),
charstring namePrefix optional,
URI uri
}
type record Lang{
charstring valueLang
}
type record URI{
charstring uri
}
type record Disposition_Notification
{
HeaderName headername (DISPOSITIONNOTIFICATION_E),
Notify_ReqS notifyReqs
}
type record Notify_Req
{
Notify_Req_Types_Union notifyReqType,
Ext_Param extParam optional
}
type record Ext_Param
{
charstring param_name,
charstring param_value
}
type record Message_ID
{
HeaderName headername (MESSAGEID_E),
Token valueID
}
type record Original_To
{
HeaderName headername (ORIGINALTO_E),
charstring formalName optional,
URI uri
}
type record IMDN_Record_Route
{
HeaderName headername (IMDNRECORDROUTE_E),
charstring formalName optional,
URI uri
}
type record IMDN_Route
{
HeaderName headername (IMDNROUTE_E),
charstring formalName optional,
URI uri
}
type record Content{
Content_Type contentType,
Content_ID contentID optional,
Data data
}
type record Content_Type
{
HeaderName headerName (CONTENTTYPE_E),
charstring valueType
}
type record Content_ID
{
HeaderName headerName (CONTENTID_E),
charstring valueID
}
type set of RequireHeader RequireHeaders
type set of Notify_Req Notify_ReqS
type union Notify_Req_Types_Union
{
Notify_Req_Types notitype,
Token notitypeToken
}
const charstring dash := "-"
const charstring cln := ":"
const charstring year := "(0(0(0[1-9]|[1-9][0-9])|[1-9][0-9][0-9])|[1-9][0-9][0-9][0-9])"
const charstring yearExpansion := "(-([1-9][0-9]#(0,))#(,1))#(,1)"
const charstring month := "(0[1-9]|1[0-2])"
const charstring dayOfMonth := "(0[1-9]|[12][0-9]|3[01])"
const charstring hour := "([01][0-9]|2[0-3])"
const charstring minute := "([0-5][0-9])"
const charstring second := "([0-5][0-9])"
const charstring sFraction := "(.[0-9]#(1,))#(,1)"
const charstring endOfDayExt := "24:00:00(.0#(1,))#(,1)"
const charstring ZorTimeZoneExt := "(Z|[+-]((0[0-9]|1[0-3]):[0-5][0-9]|14:00))#(,1)"