示例#1
0
 public void Start(Guid distributionPointId, TransactionFileReaderEventDistributionPoint transactionFileReaderEventDistributionPoint)
 {
     _distributionPointId   = distributionPointId;
     _headDistributionPoint = transactionFileReaderEventDistributionPoint;
     //Guid.Empty means head distribution point
     _headDistributionPoint.Resume();
 }
 public void Start(Guid distributionPointId, TransactionFileReaderEventDistributionPoint transactionFileReaderEventDistributionPoint)
 {
     _distributionPointId = distributionPointId;
     _headDistributionPoint = transactionFileReaderEventDistributionPoint;
     //Guid.Empty means head distribution point
     _headDistributionPoint.Resume();
 }
示例#3
0
 private void AddSubscriber(Guid publishWithCorrelationId, ProjectionSubscription subscription)
 {
     _headSubscribers.Add(publishWithCorrelationId, subscription);
     if (_headDistributionPointPaused)
     {
         _headDistributionPointPaused = false;
         _headDistributionPoint.Resume();
     }
 }