예제 #1
0
 internal void SetValues(NewsServerThrottlingData other)
 {
     this.ThrottlingMode   = other.ThrottlingMode;
     this.SpeedLimit       = other.SpeedLimit;
     this.SpeedLimitUnit   = other.SpeedLimitUnit;
     this.PreCacheSize     = other.PreCacheSize;
     this.PreCacheSizeUnit = other.PreCacheSizeUnit;
 }
예제 #2
0
 internal void Update(NewsServerThrottlingData newsServerThrottlingData)
 {
     if (newsServerThrottlingData != null)
     {
         SetValues(newsServerThrottlingData);
         DoThrottle();
     }
 }
예제 #3
0
 public NewsServerThrottling(NZBDriveDLL.NZBDrive nzbDrive, NewsServerThrottlingData other)
     : base(other)
 {
     _nzbDrive = nzbDrive;
 }
예제 #4
0
 public NewsServerThrottlingData(NewsServerThrottlingData other)
 {
     SetValues(other);
 }