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