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