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

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

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

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