Exemplo n.º 1
0
        /// <summary>
        /// Closes the conversation.
        /// </summary>
        ///
        /// <remarks>
        /// If the conversation has not terminated at the time this method is called
        /// then the conversation is aborted.
        /// </remarks>
        ///
        /// <exception cref="TPException">
        /// See the Tuxedo tpdiscon(3c) manual page.
        /// </exception>
        ///
        /// <seealso cref="ATMI.tpdiscon"/>

        public void Close()
        {
            if (cd != -1)
            {
                ATMI.tpdiscon(cd);
                cd = -1;
            }
        }