mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-07 13:52:43 -04:00
more GXS changes for phase1
clean up now on by default - unsubscription from group also leads to message clean up - check for keep flag added functions to retrieve stats - not active yet fixed forum authen flag - do not need author to create group - also policy variable not initialised correctly added KEEP and DELETE flag improved GXS resilience to peers sending NULL grp/msg binary data for deserialisation (peers could crash other peer by sending empty RsTlvBinaryData) rstokenservice iface affected so full recompile recommended git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6274 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
404e9362dc
commit
d6328c8123
15 changed files with 299 additions and 209 deletions
|
@ -216,6 +216,28 @@ public:
|
|||
return mGxs->acknowledgeTokenGrp(token, grpId);
|
||||
}
|
||||
|
||||
/*!
|
||||
* Gets service statistic for a given services
|
||||
* @param token value to to retrieve requested stats
|
||||
* @param stats the status
|
||||
* @return true if token exists false otherwise
|
||||
*/
|
||||
bool getServiceStatistic(const uint32_t& token, GxsServiceStatistic& stats)
|
||||
{
|
||||
return mGxs->getServiceStatistic(token, stats);
|
||||
}
|
||||
|
||||
/*!
|
||||
*
|
||||
* @param token to be redeemed
|
||||
* @param stats the stats associated to token request
|
||||
* @return true if token is false otherwise
|
||||
*/
|
||||
bool getGroupStatistic(const uint32_t& token, GxsGroupStatistic& stats)
|
||||
{
|
||||
return mGxs->getGroupStatistic(token, stats);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
RsGxsIface* mGxs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue