tibemsConnectionMetaData_GetEMS
Function
Purpose
Get information about the Jakarta Messaging specification supported by EMS.
C Declaration
tibems_status tibemsConnectionMetaData_GetEMSMajorVersion( tibemsConnectionMetaData metaData, tibems_int* majorVersion); tibems_status tibemsConnectionMetaData_GetEMSMinorVersion( tibemsConnectionMetaData metaData, tibems_int* minorVersion); tibems_status tibemsConnectionMetaData_GetEMSVersion( tibemsConnectionMetaData metaData, const char** version);
COBOL Call
CALL "tibemsConnectionMetaData_GetEMSMajorVersion" USING BY VALUE metadata BY REFERENCE majorVersion RETURNING tibems_status END-CALL. CALL "tibemsConnectionMetaData_GetEMSMinorVersion" USING BY VALUE metadata BY REFERENCE minorVersion RETURNING tibems_status END-CALL. CALL "tibemsConnectionMetaData_GetEMSVersion" USING BY VALUE metadata BY REFERENCE version RETURNING tibems_status END-CALL.
Note:
metadata
has usage pointer.
Parameters
Parameter | Description |
---|---|
metaData
|
The
tibemsConnectionMetaData object from which the version number will be extracted.
|
majorVersion
|
tibemsConnectionMetaData_GetEMSMajorVersion uses this location to store the major version number of the Jakarta Messaging specification supported by the EMS application.
|
minorVersion
|
tibemsConnectionMetaData_GetEMSMinorVersion uses this location to store the minor version number of the Jakarta Messaging specification supported by the EMS application.
|
version
|
tibemsConnectionMetaData_GetEMSVersion uses this location to store the version number of the Jakarta Messaging specification supported by the EMS application.
|
Remarks
EMS applications can retrieve the metaData object from any connection; see
tibemsConnection_GetMetaData
.