Example #1
0
 private void OnPipeReaderCreated(PipeManager sender, MessagePipeReader pipeReader)
 {
     pipeReader.MessageRead      += OnMessageRead;
     pipeReader.ConnectionClosed += OnConnectionClosed;
     pipeReader.Start();
     _pipeReaders[pipeReader.PipeName] = pipeReader;
 }
Example #2
0
 public MessageTracker(int batchSize, ILogger logger)
 {
     _pipeManager = new PipeManager(logger);
     _pipeManager.PipeReaderCreated += OnPipeReaderCreated;
 }