Esempio n. 1
0
        private void T3_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
        {
            T3Timer timer_t3 = (T3Timer)sender;

            timer_t3.Stop();
            m_T3Hash.Remove(timer_t3.TransactionId);
            base.TransactionTimeout(timer_t3.TransactionId);
            System.Diagnostics.Debug.Print("T3_Elapsed [TID:{0}]", timer_t3.TransactionId);
            timer_t3.Dispose();
        }
Esempio n. 2
0
 private void Stop_T3_Timer(uint tid)
 {
     System.Diagnostics.Debug.Print("Stop_T3_Timer [TID:{0}]", tid);
     if (m_T3Hash.ContainsKey(tid))
     {
         T3Timer timer_t3 = (T3Timer)m_T3Hash[tid];
         timer_t3.Stop();
         m_T3Hash.Remove(tid);
     }
 }
Esempio n. 3
0
 void T3_Timer_Stop(uint tid)
 {
     lock (m_Locker)
     {
         if (m_T3Hash.ContainsKey(tid))
         {
             T3Timer timer_t3 = (T3Timer)m_T3Hash[tid];
             timer_t3.Stop();
             m_T3Hash.Remove(tid);
         }
     }
 }
Esempio n. 4
0
        void T3_Timer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
        {
            T3Timer timer_t3 = (T3Timer)sender;

            timer_t3.Stop();

            WriteHsmsLog(string.Format("T3 Timedout [TID:{0}, Interval:{1} sec]",
                                       timer_t3.TransactionId, m_Parameters.T3_Interval));
            lock (m_Locker)
            {
                if (m_T3Hash.ContainsKey(timer_t3.TransactionId))
                {
                    m_T3Hash.Remove(timer_t3.TransactionId);
                }
            }
            //notifi base class trasaction timed out
            base.TransactionTimeout(timer_t3.TransactionId);

            timer_t3.Dispose();
        }