/// <summary> /// Stop Position Engine Service /// </summary> public bool StopService() { try { if (_positionEngineClient != null) { // Stop PE-Client _positionEngineClient.Shutdown(); // Unsubscribe Events UnregisterClientEvents(); } if (_asyncClassLogger.IsInfoEnabled) { _asyncClassLogger.Info("Position engine service stopped.", _type.FullName, "StopService"); } return(true); } catch (Exception exception) { _asyncClassLogger.Error(exception, _type.FullName, "StopService"); return(false); } }
public void Close() { _positionEngineClient.Shutdown(); _applicationController.StopServer(); }