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:
drbob 2012-06-22 01:35:32 +00:00
parent 9fcc9277c2
commit e0af833f47
8 changed files with 56 additions and 2 deletions

View file

@ -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.