OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual
Object Classes and Attribute Types
OSI/MHS Gateway Programmatic Interface (GPI) Reference Manual—522223-001
3-97
IM-C-BILAT-DEFINED-BODY-PART
IM-C-BILAT-DEFINED-BODY-PART
This class of object consists of arbitrary binary data of unspecified syntax and semantics
that are agreed upon by two communicating parties.
Table 3-56
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:
IM-T-BILATERAL-DATA
Is the binary data encoded in some format.
Implementation and Usage Note
•
OM-S-ONFILE-STRING is a value syntax that applies to messages exceeding 64
kilobytes.
For the attribute IM-T-BILATERAL-DATA, 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
specified in the max-in-memory-string-len parameter of the
GPI_MT_START_TRANSFER_IN_ call.
Table 3-56. IM-C-BILAT-DEFINED-BODY-PART Attributes—General
Characteristics
Attribute Type Value Syntax
Value
Length
Number of
Values
IM-T-BILATERAL-DATA OM-S-OCTET-STRING
or
OM-S-ONFILE-STRING
- - 1
OM-T-CLASS OM-S-INTEGER - - 1