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