Example #1
0
 internal virtual void Process(ActivateReadCommand command)
 {
     throw new NotImplementedException();
 }
Example #2
0
 public static void SendActivateRead(Pipe destination)
 {
     var command = new ActivateReadCommand(destination);
     SendCommand(command);
 }
Example #3
0
        internal override void Process(ActivateReadCommand command)
        {
            if (!m_inActive && (m_state == State.Active || m_state == State.WaitingForDelimiter))
            {
                m_inActive = true;

                var temp = ReadActivated;
                if (temp != null)
                {
                    temp(this, new PipeEventArgs(this));
                }
            }
        }