Improvements to GXS services.

* Added serialiser for wiki items (actual data to be finalised).
 * Added wiki and fixed id services to be run properly.
 * Disabled dummyData for ids.
 * Fixed some bugs in Id serialiser.
 * Added missing fns in p3wiki



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5748 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2012-10-31 22:43:23 +00:00
parent f444869271
commit 92969c2f58
7 changed files with 628 additions and 15 deletions

View file

@ -678,6 +678,9 @@ void p3IdService::generateDummyData()
{
RsStackMutex stack(mIdMtx); /********** STACK LOCKED MTX ******/
// Temporarily disable - until system is properly tested.
return;
/* grab all the gpg ids... and make some ids */
std::list<std::string> gpgids;

View file

@ -40,6 +40,12 @@ p3Wiki::p3Wiki(RsGeneralDataService* gds, RsNetworkExchangeService* nes)
}
void p3Wiki::service_tick()
{
return;
}
void p3Wiki::notifyChanges(std::vector<RsGxsNotify*>& changes)
{
receiveChanges(changes);

View file

@ -49,6 +49,8 @@ virtual void notifyChanges(std::vector<RsGxsNotify*>& changes) ;
public:
virtual void service_tick();
/* Specific Service Data */
virtual bool getCollections(const uint32_t &token, std::vector<RsWikiCollection> &collections);
virtual bool getSnapshots(const uint32_t &token, std::vector<RsWikiSnapshot> &snapshots);