Adding Basics of GxsChannel Service into libretroshare.

This includes a generic CommentService, which will be used by other Services.
+ Bugfix, gxs service threads were started before global variables were set.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6186 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2013-03-04 20:26:48 +00:00
parent 99c5633a63
commit 22782e5edd
17 changed files with 2326 additions and 66 deletions

View file

@ -249,6 +249,7 @@ protected:
*/
bool getGroupData(const uint32_t &token, std::vector<RsGxsGrpItem*>& grpItem);
public:
/*!
* retrieves message data associated to a request token
* @param token token to be redeemed for message item retrieval
@ -263,6 +264,8 @@ protected:
*/
bool getMsgRelatedData(const uint32_t &token, GxsMsgRelatedDataMap& msgItems);
protected:
/*!
* Convenience template function for retrieve
* msg related data from
@ -391,6 +394,7 @@ protected:
*/
void publishGroup(uint32_t& token, RsGxsGrpItem* grpItem);
public:
/*!
* Enables publication of a message item \n
* Setting mOrigMsgId meta member to blank \n
@ -403,6 +407,7 @@ protected:
*/
void publishMsg(uint32_t& token, RsGxsMsgItem* msgItem);
protected:
/*!
* This represents the group before its signature is calculated
* Reimplement this function if you need to access keys to further extend