Esempio n. 1
0
 public RequestManager(IProxyRepository proxyRepository)
 {
     _distributor = new RequestDistributor()
     {
         ProxyRepository = proxyRepository
     };
 }
Esempio n. 2
0
 public RequestManager(IRequestDistributor distributor)
 {
     _distributor = distributor;
     Start();
 }
Esempio n. 3
0
 public DistributionWorker(IRequestDistributor master, string name, CancellationToken token)
 {
     this.Name              = name;
     this.master            = master;
     this.cancellationToken = token;
 }