internal void StopListening() { try { listenerManager.StopListener(); opsTrackingClock.Stop(); } catch (Exception ex) { throw new Exception("An error occurred while stopping the trade update Message Listener." + Environment.NewLine + "Error CNF-363 in " + PROJ_FILE_NAME + ".StopListening(): " + ex.Message); } }
public void shutdownListener() { if (isListenerRunning) { listenerManager.StopListener(); isListenerRunning = false; } }