Exemplo n.º 1
0
 internal virtual void Process(ActivateReadCommand command)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 2
0
 public static void SendActivateRead(Pipe destination)
 {
     var command = new ActivateReadCommand(destination);
     SendCommand(command);
 }
Exemplo n.º 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));
                }
            }
        }