public void Teardown() { _cStoreServer.Stop(); _cEchoServer.Stop(); _cStoreServer.Dispose(); _cEchoServer.Dispose(); }
public void StopServer() { if (IsListening()) { defaultServer.Stop(); defaultServer.Dispose(); } }
public static void Stop() { isRunning = false; Console.WriteLine("CStoreProssesor is trying to stop..."); server.Stop(); server.Dispose(); Console.WriteLine("CStoreProssesor Stopped!"); }
public Task StopAsync(CancellationToken cancellationToken) { if (_server != null) { _server.Stop(); _server = null; } return(Task.CompletedTask); }
/// <summary> /// Disposes of the current dicom server instance. /// </summary> private void DisposeDicomServer() { if (_dicomServer != null) { _dicomServer.Stop(); //_dicomServer.BackgroundWorker.Wait(); _dicomServer.Dispose(); _dicomServer = null; } }
public void StopOwnPacs() { _ourPacs.Stop(); }
protected override void OnStop() { server.Stop(); }
public void Stop() { _server.Stop(); }