public DataFileServerClient(TcpClient client, FileManager fileManager) { this.client = client; this.fileManager = fileManager; this.thread = new Thread(new ThreadStart(this.ThreadRun)); this.thread.IsBackground = true; this.thread.Start(); }
public DataFileServer(string path) { Console.WriteLine(DateTime.Now + " Creating DataFileServer on " + path); this.fileManager = new FileManager(path); }