v7.3.2018.0614   重构高性能资源池,减少GC压力,增加线程池,让异步任务得到平等竞争CPU的机会
大石头 编写于 2018-06-14 17:56:44
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;
        }
    }
}