private void HandleCodeLineScan(object sender, CodeLineScanEvent e) { log.Info("Handling CodeLineScan"); log.DebugFormat("Begin processing Scan", e); subscribers.NotifyAll(e); try { log.Info("Putting scanned document asynchronously into cloud"); scanStoreCloud.CodeLineDataPutAsync(e); } catch (Exception ex) { log.ErrorFormat("Exception during delivery of scan [{0}]", ex); } log.Debug("End processing Scan"); }
private void HandleCodeLineScanEvent(object sender, CodeLineScanEvent e) { documentSink.CodeLineDataPutAsync(e); }