示例#1
0
        /// <summary>
        /// 定时处理入口
        /// </summary>
        public static void HeartTimer()
        {
            TimerTick requiretimeoutcheck = new TimerTick(1000, HeartTimeHandle);

            requiretimeoutcheck.StartTimer();
        }
示例#2
0
文件: IMServerUDP.cs 项目: athree/YSP
        public void TimeCheck()
        {
            TimerTick requiretimeoutcheck = new TimerTick(1000, TimerTick.UpdateTimer);

            requiretimeoutcheck.StartTimer();
        }