Ejemplo n.º 1
0
        /// <summary>
        /// 创建会话对象
        /// </summary>
        /// <returns></returns>
        public IDummySeverSession CreateSession()
        {
            DummySeverSession session = new DummySeverSession(this.m_cDispatchFactory, this.m_iPort);

            this.m_lstSessions.Add(session);
            return(session);
        }
 /// <summary>
 /// 创建会话对象
 /// </summary>
 /// <returns></returns>
 public IDummySeverSession CreateSession()
 {
     DummySeverSession session = new DummySeverSession(this.m_cDispatchFactory, this.m_iPort);
     this.m_lstSessions.Add(session);
     return session;
 }