Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
PollAll ( ) : void | ||
WaitPoll ( ) : void |
public static Add ( |
||
throttle | ||
return | void |
public static AddDownloadThrottle ( int maxDownBps ) : |
||
maxDownBps | int | |
return |
public static AddThrottle ( int maxUpBps, int maxDownBps ) : |
||
maxUpBps | int | |
maxDownBps | int | |
return |
public static AddUploadThrottle ( int maxUpBps ) : |
||
maxUpBps | int | |
return |
public static GetThrottle ( int index ) : |
||
index | int | |
return |
public static Remove ( |
||
throttle | ||
return | void |