mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 11:32:48 -04:00
small updates for fttransfermodule.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@723 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7b609a6aea
commit
86ffedb50d
2 changed files with 47 additions and 11 deletions
|
@ -90,7 +90,7 @@ public:
|
|||
uint64_t offset;
|
||||
uint32_t chunkSize;
|
||||
|
||||
//already received data size
|
||||
//already received data size for current request
|
||||
uint32_t receivedSize;
|
||||
|
||||
time_t lastTS;
|
||||
|
@ -152,7 +152,7 @@ public:
|
|||
uint64_t size() { return mSize; }
|
||||
|
||||
//internal used functions
|
||||
void queryInactive();
|
||||
bool queryInactive();
|
||||
void adjustSpeed();
|
||||
|
||||
private:
|
||||
|
@ -170,7 +170,7 @@ private:
|
|||
std::list<std::string> mOnlinePeers;
|
||||
std::map<std::string,peerInfo> mFileSources;
|
||||
|
||||
bool mFlag; //1:transfer complete, 0: not complete
|
||||
uint16_t mFlag; //2:file canceled, 1:transfer complete, 0: not complete
|
||||
double desiredRate;
|
||||
double actualRate;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue