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

@ -58,11 +58,13 @@ class RsBwRates
{
public:
RsBwRates()
:mRateIn(0), mRateOut(0), mMaxRateIn(0), mMaxRateOut(0) {return;}
:mRateIn(0), mRateOut(0), mMaxRateIn(0), mMaxRateOut(0), mQueueIn(0), mQueueOut(0) {return;}
float mRateIn;
float mRateOut;
float mMaxRateIn;
float mMaxRateOut;
int mQueueIn;
int mQueueOut;
};
@ -86,6 +88,7 @@ virtual void getRates(RsBwRates &rates)
return;
}
virtual int getQueueSize(bool /* in */) { return 0;}
virtual float getRate(bool in)
{
if (in)