Changed in Libresapi: Used Doxigen style comments

This commit is contained in:
Konrad 2018-01-06 19:09:44 +01:00
parent d53993c2a0
commit 575a416ee9
2 changed files with 27 additions and 7 deletions

View file

@ -16,11 +16,15 @@ public:
TransfersHandler(StateTokenServer* sts, RsFiles* files, RsPeers *peers, RsNotify& notify);
virtual ~TransfersHandler();
// from NotifyClient
// may be called from foreign thread
/**
Derived from NotifyClient
This function may be called from foreign thread
*/
virtual void notifyListChange(int list, int type);
// from Tickable
virtual void tick();
private:
void handleWildcard(Request& req, Response& resp);
void handleControlDownload(Request& req, Response& resp);
@ -32,7 +36,12 @@ private:
RsPeers* mRsPeers;
RsNotify& mNotify;
/**
Protects mStateToken that may be changed in foreign thread
@see TransfersHandler::notifyListChange(...)
*/
RsMutex mMtx;
StateToken mStateToken;
time_t mLastUpdateTS;