mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-24 00:31:32 -04:00
Added QueueSize information to be exported too.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5245 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9fcc9277c2
commit
e0af833f47
8 changed files with 56 additions and 2 deletions
|
@ -452,6 +452,23 @@ pqiconnect *pqiperson::getKid(uint32_t type)
|
|||
}
|
||||
}
|
||||
|
||||
void pqiperson::getRates(RsBwRates &rates)
|
||||
{
|
||||
// get the rate from the active one.
|
||||
if ((!active) || (activepqi == NULL))
|
||||
return;
|
||||
activepqi -> getRates(rates);
|
||||
}
|
||||
|
||||
int pqiperson::getQueueSize(bool in)
|
||||
{
|
||||
// get the rate from the active one.
|
||||
if ((!active) || (activepqi == NULL))
|
||||
return 0;
|
||||
return activepqi -> getQueueSize(in);
|
||||
}
|
||||
|
||||
|
||||
float pqiperson::getRate(bool in)
|
||||
{
|
||||
// get the rate from the active one.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue