예제 #1
0
 internal virtual void Process(ActivateReadCommand command)
 {
     throw new NotImplementedException();
 }
예제 #2
0
 public static void SendActivateRead(Pipe destination)
 {
     var command = new ActivateReadCommand(destination);
     SendCommand(command);
 }
예제 #3
0
파일: Pipe.cs 프로젝트: somdoron/NetMQ4
        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));
                }
            }
        }