v9.6.2017.0808   重构正向工程,基于映射表查找数据库字段类型到实体类型的映射
大石头 authored at 2017-08-08 21:38:06
705.00 B
X
using System.Net.Sockets;
using NewLife.Net.Sockets;

namespace NewLife.Net.FTP
{
    /// <summary>FTP服务器</summary>
    public class FTPServer : NetServer<FTPSession>
    {
        //TODO 未实现FTP服务端

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

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