v7.3.2018.0614   重构高性能资源池,减少GC压力,增加线程池,让异步任务得到平等竞争CPU的机会
大石头 authored at 2018-06-14 17:56:44
664.00 B
X

namespace NewLife.Net.MQTT.Packets
{
    /// <summary>连接返回代码</summary>
    public enum ConnectReturnCode
    {
        /// <summary>已接受</summary>
        Accepted = 0x00,

        /// <summary>拒绝不可用协议版本</summary>
        RefusedUnacceptableProtocolVersion = 0X01,

        /// <summary>拒绝标识</summary>
        RefusedIdentifierRejected = 0x02,

        /// <summary>服务不可用</summary>
        RefusedServerUnavailable = 0x03,

        /// <summary>错误用户名密码</summary>
        RefusedBadUsernameOrPassword = 0x04,

        /// <summary>为认证</summary>
        RefusedNotAuthorized = 0x05
    }
}