Public Member Functions
DeadPeersTimer Class Reference

Brief description of class still missing. More...

#include <DeadPeersTimer.h>

Inheritance diagram for DeadPeersTimer:
GpCoreTools::Timer

List of all members.

Public Member Functions

 DeadPeersTimer (int timeoutDelay=15000)
virtual bool exec ()

Detailed Description

Brief description of class still missing.

Full description of class still missing


Constructor & Destructor Documentation

DeadPeersTimer::DeadPeersTimer ( int  timeoutDelay = 15000)

Description of constructor still missing

References GpCoreTools::Timer::setInterval().

    : Timer()
{
  setInterval(timeoutDelay);
}

Member Function Documentation

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;
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines