Exemple #1
0
 internal virtual void Process(ActivateWriteCommand command)
 {
     throw new NotImplementedException();
 }
Exemple #2
0
 public static void SendActivateWrite(Pipe destination, long messagesRead)
 {
     var command = new ActivateWriteCommand(destination, messagesRead);
     SendCommand(command);
 }
Exemple #3
0
        internal override void Process(ActivateWriteCommand command)
        {
            //  Remember the peers's message sequence number.
            m_peerMessagesRead = command.MessagesRead;

            if (!m_outActive && m_state == State.Active)
            {
                m_outActive = true;

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