public Application(IInputQueue inputQueue, IOutputQueue outputQueue, IApplicationConfig applicationConfig) { inputQueue.Received = this.HandleTask; this._outputQueue = outputQueue; this._applicationConfig = applicationConfig; this._startEvent = new ManualResetEvent(false); }
public ProducerUnit( IInputQueue<string> inputQueue, IOutputQueue<string> outputQueue, IExtractor<string, string> extractor) { InputQueue = inputQueue; OutputQueue = outputQueue; Extractor = extractor; }
public Worker(IRemoteService remoteService, IOutputQueue outputQueue) { this.remoteService = remoteService; this.outputQueue = outputQueue; }