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

namespace Server
{

    /// <summary>
    /// 服务器状态
    /// </summary>
    public enum ServerState
    {
        /// <summary>
        /// 关闭状态
        /// </summary>
        Close = 0,

        /// <summary>
        /// 启动中
        /// </summary>
        Starting = 1,

        /// <summary>
        /// 运行中
        /// </summary>
        Runing = 2,

        /// <summary>
        /// 停止中
        /// </summary>
        Stoping = 3,

        /// <summary>
        /// 停止
        /// </summary>
        Stop = 4,

        /// <summary>
        /// 服务器意外终止
        /// </summary>
        Error = 5
    }
}
