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

namespace NewLife.Net.MQTT.Packets
{
    /// <summary>连接响应包</summary>
    public sealed class ConnAckPacket : DataPacket
    {
        /// <summary>包类型</summary>
        public override PacketType PacketType => PacketType.CONNACK;

        /// <summary>会话</summary>
        public Boolean SessionPresent { get; set; }

        /// <summary>响应代码</summary>
        public ConnectReturnCode ReturnCode { get; set; }
    }
}