Exemplo n.º 1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public DummyBitFieldMessage(DummyEncryptedConnection encryptedConnection, DummyConnection connection, DummyConnecter connecter)
     : base(encryptedConnection)
 {
     this.connection = connection;
     this.connecter  = connecter;
     this.InitialBytesLength(connecter.PiecesNumber);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="connection">封装连接类</param>
 /// <param name="connecter">连接管理类</param>
 public DummyConnection(DummyEncryptedConnection connection, DummyConnecter connecter)
 {
     this.encryptedConnection = connection;
     this.connecter           = connecter;
     this.getAnything         = false;
 }