Метод | Описание | |
---|---|---|
Add ( |
Adds a new Throttle.
|
|
AddDownloadThrottle ( int maxDownBps ) : |
Adds and returns a new SetThrottle which will restrict the total download speed of all its connections to the given value. Initial connections of the new throttle.
|
|
AddThrottle ( int maxUpBps, int maxDownBps ) : |
Adds and returns a new SetThrottle which will restrict the total download speed and upload speeds of all its connections to the given values. Initial connections of the new throttle.
|
|
AddUploadThrottle ( int maxUpBps ) : |
Adds and returns a new SetThrottle which will restrict the total upload speed of all its connections to the given value. Initial connections of the new throttle.
|
|
GetThrottle ( int index ) : |
||
Remove ( |
Removes the given Throttle or does nothing if its not Active.
|
|
Remove ( int index ) : void | ||
RemoveAll ( ) : void |
Removes all Throttles.
|
Метод | Описание | |
---|---|---|
PollAll ( ) : void | ||
WaitPoll ( ) : void |
public static Add ( |
||
throttle | ||
Результат | void |
public static AddDownloadThrottle ( int maxDownBps ) : |
||
maxDownBps | int | |
Результат |
public static AddThrottle ( int maxUpBps, int maxDownBps ) : |
||
maxUpBps | int | |
maxDownBps | int | |
Результат |
public static AddUploadThrottle ( int maxUpBps ) : |
||
maxUpBps | int | |
Результат |
public static GetThrottle ( int index ) : |
||
index | int | |
Результат |
public static Remove ( |
||
throttle | ||
Результат | void |
public static Remove ( int index ) : void | ||
index | int | |
Результат | void |