public void Disconnect() { Status = "Disconnected"; stop = true; telnetClient.Disconnect(); initializeDashboard(); }
public void Disconnect() { // Stop the thread that receiving and sending data. stop = true; // Stop the connection with the simulator. telnetClient.Disconnect(); Connecting = "disconnected"; }
public void Disconnect() { stop = true; timer.Enabled = false; Thread.Sleep(2000); myTelnetClient.Disconnect(); }
//A function to disconnect as a client. public void DisconnectCommandsClient() { if (connectionClient) { tc.Disconnect(); connectionClient = false; } }
//Disconnection from server. public void Disconnect() { if (!Connected) { return; } client.Disconnect(); ResetDashboard(); this.setCommands.Clear(); MessageInd = true; Connected = false; Message = "Disconnected from server."; }
// Disconnect the model from the simulator. public void Disconnect() { stop = true; ConnectionStatus = telnetClient.Disconnect(); }
//function responsible to send a disconnect request to the model public void DisconnectSimulator() { model.Disconnect(); }
// Disconnect from server. public void Disconnect() { stop = true; timer.Stop(); client.Disconnect(); }