Ejemplo n.º 1
0
 public void Stop()
 {
     if (_enabled)
     {
         _messageProducer.Stop();
     }
 }
 public void Stop()
 {
     if (!_enabled)
     {
         return;
     }
     _rabbit.Stop();
     _log.WriteInfoAsync(nameof(IcmTickPriceHarvester), "Initializing", "", "Stopped");
 }
 public void Stop()
 {
     if (_subscriber != null)
     {
         _subscriber.Stop();
         _subscriber.Dispose();
         _subscriber = null;
     }
 }
 public void Stop()
 {
     if (!_config.RabbitMq.TickPrices.Enabled && !_config.RabbitMq.OrderBooks.Enabled)
     {
         return;
     }
     _rabbit.Stop();
     _log.WriteInfoAsync(nameof(ICMTickPriceHarvester), "Initializing", "", "Stopped");
 }
        public void Dispose()
        {
            _isDisposing = true;

            if (_primarySubscriber != null)
            {
                _primarySubscriber.Stop();
            }
            if (_secondarySubscriber != null)
            {
                _secondarySubscriber.Stop();
            }

            _checkConnectionTimer.Change(-1, -1);
            _checkConnectionTimer.Dispose();
        }
        public void Stop()
        {
            _subscriber?.Stop();

            _log.Info($"<< {nameof(HistoryOperationSubscruber)} is stopped.");
        }
Ejemplo n.º 7
0
 public void StopApplication()
 {
     Console.WriteLine($"Closing {ApplicationInfo.ApplicationFullName}...");
     WriteInfoToLogAndSlack("Stopping listening exchange " + ExchangeName);
     _connector.Stop();
 }
Ejemplo n.º 8
0
 public void TearDown()
 {
     _subscriber.Stop();
 }
        public Task StopAsync(CancellationToken cancellationToken)
        {
            _subscriber?.Stop();

            return(Task.CompletedTask);
        }
Ejemplo n.º 10
0
 public void Dispose()
 {
     _cashinSubscriber?.Stop();
     _cashoutSubscriber?.Stop();
 }
        public void Stop()
        {
            _subscriber.Stop();

            _log.Info($"<< {nameof(InvoiceConfirmationSubscriber)} is stopped.");
        }
 public void Dispose()
 {
     _subscriber?.Stop();
     _subscriberHotWallet?.Stop();
 }
 public void Dispose()
 {
     _timer.Dispose();
     _subscriber.Stop();
 }
 public void Stop()
 {
     _subscriber?.Stop();
     _log.Info($"<< {nameof(PaymentRequestsSubscriber)} is stopped.");
 }
Ejemplo n.º 15
0
        public void Stop()
        {
            _subscriber?.Stop();

            _log.Info($"<< {nameof(TickPricesSubscriber)} is stopped.");
        }
 public void Stop()
 {
     _subscriber.Stop();
     Parallel.ForEach(_dict.Values, i => i.Stop());
 }
        public void Stop()
        {
            _subscriber?.Stop();

            _blobSaver.Stop();
        }
Ejemplo n.º 18
0
 public static void Stop()
 {
     _connector.Stop();
 }
Ejemplo n.º 19
0
 public void Dispose()
 {
     _subscriber.Stop();
 }
Ejemplo n.º 20
0
 public void Stop()
 {
     _tradesSubscriber.Stop();
 }
 public void Stop()
 {
     _subscriber?.Stop();
 }
 public void Dispose()
 {
     _connector?.Stop();
     _connector?.Dispose();
 }