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

namespace NewLife.Net.MQTT.Packets
{
    /// <summary>服务质量</summary>
    public enum QualityOfService
    {
        /// <summary>最多一次</summary>
        AtMostOnce = 0,

        /// <summary>至少一次</summary>
        AtLeastOnce = 0x1,

        /// <summary>刚好一次</summary>
        ExactlyOnce = 0x2,

        /// <summary>保留</summary>
        Reserved = 0x3,

        /// <summary>失败</summary>
        Failure = 0x80
    }
}