private void StartServer()
        {
            if(currentServer != null)
            {
                StopServer();
            }

            currentServer = new Server(currentConfiguration.Port, currentConfiguration.Password);
            currentServer.Start();
        }
 private void StartServer()
 {
     currentServer = new Server(currentConfiguration.Port, currentConfiguration.Password);
     currentServer.Start();
 }
 private void StopServer()
 {
     currentServer.Stop();
     currentServer = null;
 }