示例#1
0
        /// <summary>
        /// Starts Market Data Service
        /// </summary>
        public bool StopService()
        {
            try
            {
                // Stop MDE-Client
                _dataEngineClient.Shutdown();

                // Clear local map
                _subscriptionRequests.Clear();

                if (_asyncClassLogger.IsInfoEnabled)
                {
                    _asyncClassLogger.Info("Historical data service stopped.", _type.FullName, "StopService");
                }

                return(true);
            }
            catch (Exception exception)
            {
                _asyncClassLogger.Error(exception, _type.FullName, "StopService");
                return(false);
            }
        }
示例#2
0
 public void Close()
 {
     _marketDataEngineClient.Shutdown();
 }
示例#3
0
 public void Close()
 {
     _marketDataEngineClient.Shutdown();
     _applicationController.StopServer();
 }