public DataManager(Framework framework, DataServer server) { this.framework = framework; Server = server; Server?.Open(); this.thread = new Thread(ThreadRun) { Name = "Data Manager Thread", IsBackground = true }; this.thread.Start(); }