增加编解码异常,增加Mqtt实现,太臃肿了
大石头 authored at 2018-04-23 15:34:06
415.00 B
X

namespace NewLife.Net.MQTT.Packets
{
    /// <summary>断开连接</summary>
    public sealed class DisconnectPacket : DataPacket
    {
        /// <summary>实例</summary>
        public static readonly DisconnectPacket Instance = new DisconnectPacket();

        DisconnectPacket() { }

        /// <summary>包类型</summary>
        public override PacketType PacketType => PacketType.DISCONNECT;
    }
}