Esempio n. 1
0
 /// <summary>
 /// Constructor,使用一个特定的编码器来初始化
 /// </summary>
 /// <param name="_coder">Datagram编码器</param>
 public AppConnector(Coder coder)
 {
     _coder = coder;
 }
Esempio n. 2
0
        //#endregion

        #region public method

        /// <summary>
        /// Default constructor,使用默认的编码格式
        /// </summary>
        public AppConnector()
        {
            _coder = new Coder(Coder.EncodingMothord.Default);
        }
 /// <summary> 
 /// Constructor,使用一个特定的编码器来初始化 
 /// </summary> 
 /// <param name="_coder">Datagram编码器</param> 
 public AppConnector(Coder coder)
 {
     _coder = coder;
 }
 /// <summary>
 /// Constructor,使用一个特定的编码器来初始化
 /// </summary>
 /// <param name="_coder">Datagram编码器</param>
 public DSConnector(Coder coder)
 {
     _coder = coder;
 }
 /// <summary> 
 /// Default constructor,使用默认的编码格式 
 /// </summary> 
 public AppConnector()
 {
     _coder = new Coder(Coder.EncodingMothord.Default);
 }