v9.8.2018.0605   由DataReader直接映射实体列表,以支持netstandard的MySql和SQLite,且提升性能
大石头 authored at 2018-06-05 00:45:23
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; }
    }
}