Example #1
0
		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();
		}
Example #2
0
		public DataFileServer(string path)
		{
			Console.WriteLine(DateTime.Now + " Creating DataFileServer on " + path);
			this.fileManager = new FileManager(path);
		}