예제 #1
0
파일: TFtpTransfer.cs 프로젝트: sotaria/gsf
 private void Timer_OnTimer(object context)
 {
     lock (this)
     {
         State.OnTimer();
     }
 }
예제 #2
0
 private void Timer_OnTimer(object context)
 {
     lock (this)
     {
         try
         {
             State.OnTimer();
         }
         catch (Exception ex)
         {
             Logger.SwallowException(ex, "Failed to execute TFTP state timer");
         }
     }
 }
예제 #3
0
 private void timer_OnTimer(object context)
 {
     try
     {
         lock (this)
         {
             state.OnTimer();
         }
     }
     catch (Exception e)
     {
         TftpTrace.Trace("Ignoring unhandled exception: " + e, this);
     }
 }
예제 #4
0
 public void OnTimer()
 {
     decoratee.OnTimer();
 }