Integration of ft into a working system.

* Made ftTransferModule compile.
 * bugfixes to make ftserver1test work.
 * New P3Pipe / P3Hub ...
 * Added Test Notes.
 * First functions added to ftcontroller
 * added isOnline to p3ConnectMgr.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@698 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2008-08-17 15:23:11 +00:00
parent c4a3792500
commit eb8dacc798
15 changed files with 647 additions and 143 deletions

View file

@ -566,35 +566,6 @@ int filedexserver::handleOutputQueues()
//std::cerr << "filedexserver::handleOutputQueues()" << std::endl;
int i = 0;
#if 0 /* no more cache queries -> results are pushed */
std::list<RsPeerId> ids;
std::list<RsPeerId>::iterator pit;
mCacheStrapper->sendCacheQuery(ids, time(NULL));
for(pit = ids.begin(); pit != ids.end(); pit++)
{
//std::cerr << "filedexserver::handleOutputQueues() Cache Query for: " << (*pit) << std::endl;
/* now create one! */
RsCacheRequest *cr = new RsCacheRequest();
cr->PeerId(*pit);
std::ostringstream out;
if (i++ == 0)
{
out << "Outgoing CacheStrapper -> SearchItem:" << std::endl;
}
cr -> print(out);
pqioutput(PQL_DEBUG_BASIC, fldxsrvrzone, out.str());
/* send it off */
pqisi -> SearchSpecific(cr);
}
#endif
/* now see if the filer has any data */
ftFileRequest *ftr;
while((ftr = ftFiler -> sendFileInfo()) != NULL)