Example #1
0
 public DataAcquisitionWorker(PayloadProcessingChannel payloadChannel,
                              ManualResetEventSlim payloadReadyEvent,
                              ILogger <DataAcquisitionWorker> logger)
 {
     _payloadChannel    = payloadChannel;
     _payloadReadyEvent = payloadReadyEvent;
     _logger            = logger;
 }
Example #2
0
 public DataAcquisitionWorker(PayloadProcessingChannel payloadChannel,
                              IHostApplicationLifetime applicationLifetime, ManualResetEventSlim payloadReadyEvent,
                              ILogger <DataAcquisitionWorker> logger)
 {
     _payloadChannel      = payloadChannel;
     _applicationLifetime = applicationLifetime;
     _payloadReadyEvent   = payloadReadyEvent;
     _logger = logger;
 }
Example #3
0
 public ProcessHandlerWorker(PayloadProcessingChannel payloadChannel, DigitalSigner signer,
                             ITextTransformer transformer, IHostApplicationLifetime applicationLifetime,
                             ILogger <ProcessHandlerWorker> logger)
 {
     _payloadChannel      = payloadChannel;
     _signer              = signer;
     _transformer         = transformer;
     _applicationLifetime = applicationLifetime;
     _logger              = logger;
 }