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