Ejemplo n.º 1
0
        /// <summary>
        /// Stops Trade Manager Service
        /// </summary>
        /// <returns>Indicates whether the operation was successful or not.</returns>
        public bool StopService()
        {
            if (_tradeManagerClient != null)
            {
                // Stop Client
                _tradeManagerClient.StopCommunicator();

                return(true);
            }

            if (Logger.IsInfoEnabled)
            {
                Logger.Info("Client object not initialized.", _type.FullName, "StopService");
            }

            return(false);
        }
 public void TearDown()
 {
     _applicationController.StopCommunicator();
     _tradeManagerClient.StopCommunicator();
 }