예제 #1
0
 public void Teardown()
 {
     _cStoreServer.Stop();
     _cEchoServer.Stop();
     _cStoreServer.Dispose();
     _cEchoServer.Dispose();
 }
예제 #2
0
 public void StopServer()
 {
     if (IsListening())
     {
         defaultServer.Stop();
         defaultServer.Dispose();
     }
 }
예제 #3
0
 public static void Stop()
 {
     isRunning = false;
     Console.WriteLine("CStoreProssesor is trying to stop...");
     server.Stop();
     server.Dispose();
     Console.WriteLine("CStoreProssesor Stopped!");
 }
        /// <summary>
        /// Disposes of the current dicom server instance.
        /// </summary>
        private void DisposeDicomServer()
        {
            if (_dicomServer != null)
            {
                _dicomServer.Stop();
                //_dicomServer.BackgroundWorker.Wait();

                _dicomServer.Dispose();

                _dicomServer = null;
            }
        }
예제 #5
0
 public static void Stop()
 {
     _server.Dispose();
 }
예제 #6
0
 public void GlobalCleanup()
 {
     _server.Dispose();
 }
 public static void Stop()
 {
     _itemsLoaderTimer?.Dispose();
     _server.Dispose();
 }