mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed compilation of network simulator
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-GenericTunneling@6408 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
182e536061
commit
900abd0f54
@ -4,7 +4,7 @@ class MonitoredTurtleRouter: public p3turtle
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
MonitoredTurtleRouter(p3LinkMgr *lmgr,ftServer *fts)
|
MonitoredTurtleRouter(p3LinkMgr *lmgr,ftServer *fts)
|
||||||
: p3turtle(lmgr,fts)
|
: p3turtle(lmgr)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -172,7 +172,7 @@ void PeerNode::provideFileHash(const std::string& hash)
|
|||||||
void PeerNode::manageFileHash(const std::string& hash)
|
void PeerNode::manageFileHash(const std::string& hash)
|
||||||
{
|
{
|
||||||
_managed_hashes.insert(hash) ;
|
_managed_hashes.insert(hash) ;
|
||||||
_turtle->monitorFileTunnels("file 1",hash,10000) ;
|
_turtle->monitorTunnels(hash,_ftserver) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
void PeerNode::getTrafficInfo(NodeTrafficInfo& info)
|
void PeerNode::getTrafficInfo(NodeTrafficInfo& info)
|
||||||
|
@ -47,6 +47,7 @@ class PeerNode
|
|||||||
private:
|
private:
|
||||||
p3ServiceServer *_service_server ;
|
p3ServiceServer *_service_server ;
|
||||||
MonitoredTurtleRouter *_turtle ;
|
MonitoredTurtleRouter *_turtle ;
|
||||||
|
ftServer *_ftserver ;
|
||||||
std::string _id ;
|
std::string _id ;
|
||||||
|
|
||||||
std::set<TurtleFileHash> _provided_hashes ;
|
std::set<TurtleFileHash> _provided_hashes ;
|
||||||
|
Loading…
Reference in New Issue
Block a user