C# Class Universal.Torrent.Client.RateLimiters.RateLimiterGroup

Inheritance: IRateLimiter
Exibir arquivo Open project: haroldma/Universal.Torrent Class Usage Examples

Public Methods

Method Description
Add ( IRateLimiter limiter ) : void
RateLimiterGroup ( ) : System.Collections.Generic
Remove ( IRateLimiter limiter ) : void
TryProcess ( int amount ) : bool
UpdateChunks ( int maxRate, int actualRate ) : void

Method Details

Add() public method

public Add ( IRateLimiter limiter ) : void
limiter IRateLimiter
return void

RateLimiterGroup() public method

public RateLimiterGroup ( ) : System.Collections.Generic
return System.Collections.Generic

Remove() public method

public Remove ( IRateLimiter limiter ) : void
limiter IRateLimiter
return void

TryProcess() public method

public TryProcess ( int amount ) : bool
amount int
return bool

UpdateChunks() public method

public UpdateChunks ( int maxRate, int actualRate ) : void
maxRate int
actualRate int
return void