Ejemplo n.º 1
0
        public void ActivateIn()
        {
            if (m_inputError)
            {
                //  There was an input error but the engine could not
                //  be terminated (due to the stalled decoder).
                //  Flush the pending message and terminate the engine now.
                m_decoder.ProcessBuffer(m_inpos, 0);
                Debug.Assert(!m_decoder.Stalled());
                m_session.Flush();
                Error();
                return;
            }

            m_ioObject.SetPollin(m_handle);

            //  Speculative read.
            m_ioObject.InEvent();
        }