Exemplo n.º 1
0
        }         // translatePortID

        /*
        ** Name: QuerySocketHealth
        **
        ** Description:
        **	Query the MSG's underly socket to test if it is still connected.
        **
        ** Input:
        **	None.
        **
        ** Output:
        **	None.
        **
        ** Returns:
        **	boolean	    True if socket connection is connected, False otherwise.
        **
        ** History:
        **	19-sep-07 (thoda04)
        **	    Created.
        */

        /// <summary>
        /// Test and return an indication that the underly physical socket connection is still connected.
        /// </summary>
        /// <returns></returns>
        public virtual bool QuerySocketHealth()
        {
            if (socket == null)
            {
                return(false);
            }

            return(socket.QuerySocketHealth());
        }  // QuerySocketHealth