Brief description of class still missing. More...
#include <DeadPeersTimer.h>
Public Member Functions | |
DeadPeersTimer (int timeoutDelay=15000) | |
virtual bool | exec () |
Brief description of class still missing.
Full description of class still missing
DeadPeersTimer::DeadPeersTimer | ( | int | timeoutDelay = 15000 | ) |
Description of constructor still missing
References GpCoreTools::Timer::setInterval().
: Timer() { setInterval(timeoutDelay); }
bool DeadPeersTimer::exec | ( | ) | [virtual] |
Performs action after timeout. If it returns true the timer is not single shot, i.e. deleted right after exec().
Implements GpCoreTools::Timer.
References PeerTracker::checkDeadPeers(), PeerTracker::instance(), and GpCoreTools::Timer::interval().
{ PeerTracker::instance()->checkDeadPeers(interval()*0.001); return true; }