示例#1
0
 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);
     }
 }
示例#2
0
 public void shutdownListener()
 {
     if (isListenerRunning)
     {
         listenerManager.StopListener();
         isListenerRunning = false;
     }
 }