ma_close(3xma) — Subroutines
(c) Digital Equipment Corporation. 1994. All rights reserved.
Name
ma_close − Terminates an MA session between the Client and the Service.
Syntax
OM_return_code = ma_close (session)
| Argument | Data Type | Access |
| session | OM_private_object | read only |
| return_code | OM_return_code |
C Binding
OM_return_code ma_close (session) OM_private_object session;
Arguments
SessionAn established MA session between a Client and the Service; an instance of class Session.
Description
This routine terminates an MA session between the Client and the Service, and destroys the associated workspace. If the delivery of a message or a report is in progress in the session, the Service first unsuccessfully finishes that delivery, that is, it places the message or report back on the Delivery Queue.
Return Values
OM_NETWORK_ERROR
OM_SUCCESS
MH_RC_WRONG_CLASS
Plus errors returned from:
om_instance
Examples
om_status = ma_close ( session );