Пример #1
0
        private PipeMessage SendData(PipeMessage msg)
        {
            _writer.WriteLine(msg.Serialize());
            _writer.Flush();
            var ack = _reader.ReadLine();

            return(PipeMessage.Create(ack));
        }
Пример #2
0
 public PipeMessage GetMessage()
 {
     return(PipeMessage.Create(ReadData()));
 }