Ejemplo n.º 1
0
        public void ReadActivated(Pipe pipe)
        {
            // Skip activating if we're detaching this pipe
            if (m_pipe != pipe)
            {
                Debug.Assert(m_terminatingPipes.Contains(pipe));
                return;
            }

            if (m_engine != null)
            {
                m_engine.ActivateOut();
            }
            else
            {
                m_pipe.CheckRead();
            }
        }
Ejemplo n.º 2
0
        protected bool XHasIn()
        {
            if (m_pipe == null)
            {
                return(false);
            }

            return(m_pipe.CheckRead());
        }