Commit of the new UDP Connection methods and

the rewrite of the retroshare core networking stack.

This check-in commits the changes to the dbase code.

only minor changes: 
rename loadCache->loadLocalCache to avoid clash.
switch to new monitoring system in cachestrapper.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@307 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2008-01-25 06:42:55 +00:00
parent 6435357c07
commit 2780be3931
4 changed files with 16 additions and 10 deletions

View file

@ -146,7 +146,7 @@ virtual bool cachesAvailable(RsPeerId pid, std::map<CacheId, CacheData> &ids);
* configuration file....
* to be overloaded by inherited class
*/
virtual bool loadCache(const CacheData &data);
virtual bool loadLocalCache(const CacheData &data);
/* control Caches available */
bool refreshCache(const CacheData &data);
@ -271,16 +271,17 @@ class CacheTS
time_t answer;
};
#include "pqi/pqimon.h"
#include "pqi/pqimonitor.h"
class CacheStrapper: public pqimonclient
class CacheStrapper: public pqiMonitor
{
public:
CacheStrapper(RsPeerId id, time_t period);
virtual ~CacheStrapper() { return; }
/* from pqimonclient */
virtual void monUpdate(const std::list<pqipeer> &plist);
/************* from pqiMonitor *******************/
virtual void statusChange(const std::list<pqipeer> &plist);
/************* from pqiMonitor *******************/
void addCachePair(CachePair pair);