mt_close(3xmt) — Subroutines
(c) Digital Equipment Corporation. 1994. All rights reserved.
Name
mt_close − Terminates an MT session between the Client and the Service.
Syntax
OM_return_code = mt_close (session)
| Argument | Data Type | Access |
| session | OM_private_object | read only |
| return_code | OM_return_code |
C Binding
OM_return_code mt_close (session) OM_private_object session;
Arguments
SessionAn established MT session between a Client and the Service; an instance of the Session class.
Description
This routine terminates an MT session between the Client and the Service, and destroys the associated workspace. If the inbound transfer of one or more communiques or reports is in progress in the session, the Service first unsuccessfully finishes those transfers; that is, it places the communique or report back on the input queue. This means that the communique or report will be available for transfer in the next session.
Return Values
MH_RC_FEATURE_UNAVAILABLE
OM_NETWORK_ERROR
OM_SUCCESS
OM_SYSTEM_ERROR
MH_RC_WRONG_CLASS
Plus errors returned from:
om_instance
Examples
om_status = mt_close ( session );