public DoctorThread(TcpClient client, Server server) { this.client = client; this.server = server; this.running = false; }
public ClientThread(TcpClient client, Server server) { this.client = client; this.server = server; this.name = "Unknown"; this.session = 0; this.running = false; this.loggedin = false; stepId = 0; metingen = new List<Meting>(); chat = new List<ChatMessage>(); session = FileHandler.GenerateSession(); Console.WriteLine("Generated new session: " + session); }