Esempio n. 1
0
 public BufferedFileSender(FtpDownloader FTPServer, TimeSpan ResendInterval)
 {
     this.FTPServer = FTPServer;
     t           = new Timer(ResendInterval.TotalMilliseconds);
     t.Elapsed  += t_Elapsed;
     t.AutoReset = true;
     t.Start();
 }
 public BufferedFileSender(FtpDownloader FTPServer, TimeSpan ResendInterval)
 {
   this.FTPServer = FTPServer;
   t = new Timer(ResendInterval.TotalMilliseconds);
   t.Elapsed += t_Elapsed;
   t.AutoReset = true;
   t.Start();
 }