PeerFinder work

This commit is contained in:
Vinnie Falco
2013-09-30 09:35:29 -07:00
parent 41879d8511
commit 4fe63f9f0d
44 changed files with 2327 additions and 489 deletions

View File

@@ -51,8 +51,7 @@ class ApplicationImp
: public Application
, public RootStoppable
, public DeadlineTimer::Listener
, LeakChecked <ApplicationImp>
, PeerFinder::Callback
, public LeakChecked <ApplicationImp>
{
private:
static ApplicationImp* s_instance;
@@ -136,8 +135,6 @@ public:
, m_loadManager (LoadManager::New (*this, LogJournal::get <LoadManagerLog> ()))
, mPeerFinder (PeerFinder::New (*this))
, m_sweepTimer (this)
, mShutdown (false)
@@ -283,11 +280,6 @@ public:
return *m_peers;
}
PeerFinder& getPeerFinder ()
{
return *mPeerFinder;
}
// VFALCO TODO Move these to the .cpp
bool running ()
{
@@ -861,7 +853,6 @@ private:
ScopedPointer <Validations> mValidations;
ScopedPointer <ProofOfWorkFactory> mProofOfWorkFactory;
ScopedPointer <LoadManager> m_loadManager;
ScopedPointer <PeerFinder> mPeerFinder;
DeadlineTimer m_sweepTimer;
bool volatile mShutdown;