Classes | Public Member Functions | Protected Member Functions

GridClientRecurringEventThread Class Reference

#include <gridclientrecurringeventthread.hpp>

List of all members.

Classes

class  EventListener

Public Member Functions

 GridClientRecurringEventThread (long refreshIntervalInMillis, EventListener &pLstnr)
virtual ~GridClientRecurringEventThread ()

Protected Member Functions

void onTimerHandler (const boost::system::error_code &error)

Detailed Description

Service class for threads with periodic actions.


Constructor & Destructor Documentation

GridClientRecurringEventThread::GridClientRecurringEventThread ( long  refreshIntervalInMillis,
EventListener &  pLstnr 
) [inline]

Constructor for thread - after this thread will notify listener on a periodic basis.

Parameters:
pRefreshIntervalInSec Interval in milliseconds between notifications.
pLstnr Listener to notify.
virtual GridClientRecurringEventThread::~GridClientRecurringEventThread (  )  [inline, virtual]

Virtual destructor - stops event thread before leave.


Member Function Documentation

void GridClientRecurringEventThread::onTimerHandler ( const boost::system::error_code &  error  )  [inline, protected]

Handler for Boost timer.


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