using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Server
{
    /// <summary>
    /// 定时器处理者
    /// </summary>
    public interface ITimerProcessor
    {

        /// <summary>
        /// 定时器
        /// </summary>
        /// <param name="Interval">定时器时间间隔 单位毫秒</param>
        void OnTime(int Interval);

        /// <summary>
        /// 秒级定时器
        /// </summary>
        void SecondTime();

    }
}
