mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 15:35:49 -04:00
cleaned the MaxUpRate branch from unused code
This commit is contained in:
parent
83a143476e
commit
ef4455ac9c
4 changed files with 3 additions and 40 deletions
|
@ -503,14 +503,6 @@ bool p3ServerConfig::switchToOperatingMode(uint32_t opMode)
|
|||
return true;
|
||||
}
|
||||
|
||||
int p3ServerConfig::SetMaxDataRates(const RsPeerId& pid, int downKb, int upKb ) /* in kbrates */
|
||||
{
|
||||
mPqiHandler->setMaxRate(pid,true,downKb) ;
|
||||
mPqiHandler->setMaxRate(pid,false,upKb) ;
|
||||
|
||||
return true ;
|
||||
}
|
||||
|
||||
/* handle data rates.
|
||||
* Mutex must be handled at the lower levels: TODO */
|
||||
|
||||
|
|
|
@ -95,7 +95,6 @@ virtual bool setOperatingMode(uint32_t opMode);
|
|||
virtual int SetMaxDataRates( int downKb, int upKb );
|
||||
virtual int GetMaxDataRates( int &downKb, int &upKb );
|
||||
virtual int GetCurrentDataRates( float &inKb, float &outKb );
|
||||
virtual int SetMaxDataRates(const RsPeerId& pid, int downKb, int upKb );
|
||||
|
||||
/********************* ABOVE is RsConfig Interface *******/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue