v9.8.2018.0605   由DataReader直接映射实体列表,以支持netstandard的MySql和SQLite,且提升性能
大石头 编写于 2018-06-05 00:45:23
X
using System.Net.Sockets;
using NewLife.Net.Sockets;

namespace NewLife.Net.Smtp
{
    /// <summary>Smtp服务器</summary>
    public class SmtpServer : NetServer<SmtpSession>
    {
        //TODO 未实现Smtp服务端

        #region 属性
        //private Dictionary<Int32, SmtpSession> _Sessions;
        ///// <summary>会话集合</summary>
        //public IDictionary<Int32, SmtpSession> Sessions { get { return _Sessions ?? (_Sessions = new Dictionary<int, SmtpSession>()); } }
        #endregion

        /// <summary>实例化一个Smtp服务器</summary>
        public SmtpServer()
        {
            Port = 25;
            ProtocolType = NetType.Tcp;
        }
    }
}