OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual

Object Classes and Attribute Types
OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual522223-001
3-31
MH-C-GENERAL-CONTENT
MH-C-GENERAL-CONTENT
This class of object consists of the information that a message conveys to its recipients.
Table 3-22
describes the attribute types for this class and the syntax, length, and number
of values for each type.
Meanings of Attributes
The first attribute type specifies the following information:
MH-T-BINARY-CONTENT
Is the binary data to be conveyed to the recipients of the message. The MTS modifies
this attribute’s value only if the message is converted.
Implementation and Usage Notes
This class of object is valid as an attribute of MH-C-MESSAGE only if the
message’s MH-T-CONTENT-TYPE attribute value is MH-CTI-UNIDENTIFIED,
MH-CTO-UNIDENTIFIED, MH-CTO-INNER-MESSAGE, or any other undefined
value.
OM-S-ONFILE-STRING is a value syntax that applies to messages exceeding 64
kilobytes.
For the attribute MH-T-BINARY CONTENT, this value syntax is an alternative to
OM-S-OCTET-STRING.
When this attribute has the syntax OM-S-ONFILE-STRING, the GPI library stores
the value in a file, and the value retains the characteristics of its primary syntax.
For outbound messages, the client program should specify OM-S-ONFILE-STRING
as the syntax of an attribute when the memory storage space might be insufficient to
accommodate the value of the attribute. The client can specify this syntax for
specific strings when the accumulated length of the strings might overflow the total
string area specified in the max-table-data parameter of the GPI_INITIALIZE_
procedure call.
For inbound messages, the Gateway Interface Process automatically specifies OM-
S-ONFILE-STRING for those strings that exceed the value in the max-table-data
parameter of the GPI_INITIALIZE_ call or that exceed the maximum length
Table 3-22. MH-C-GENERAL-CONTENT Attributes—General Characteristics
Attribute Type Value Syntax
Value
Length
Number of
Values
MH-T-BINARY-CONTENT OM-S-OCTET-STRING
or
OM-S-ONFILE-STRING
- - 1
OM-T-CLASS OM-S-INTEGER - - 1