internal virtual void Process(ActivateWriteCommand command) { throw new NotImplementedException(); }
public static void SendActivateWrite(Pipe destination, long messagesRead) { var command = new ActivateWriteCommand(destination, messagesRead); SendCommand(command); }
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)); } } }