Beispiel #1
0
 private void WorkerOnReady(object sender, ProcessedEventArgs processedEventArgs)
 {
     lock (lockobk)
     {
         _logger.Trace("queue {0} unlocked", processedEventArgs.QueueId);
         _unlockedQueues[processedEventArgs.QueueId] = true;
     }
 }
Beispiel #2
0
 protected virtual void OnFramesProcessed(ProcessedEventArgs e)
 {
     FramesProcessed?.Invoke(this, e);
 }
Beispiel #3
0
 protected virtual void OnReady(int qId)
 {
     ProcessedEventArgs e = new ProcessedEventArgs(qId);
     Ready?.Invoke(this, e);
 }