IlsTimerManager
 
IlsTimerManager
Category 
Server class
Inheritance Path 
IlsTimerManager
Description 
This singleton manages all the timers that have been posted in the application. It creates a specific thread to manage all timers. By default, timer callback functions are triggered from that thread. This behavior can be overriden in subclasses. Specifically, it is overriden by IlsTcpTimerManager from MvTCP library.
To create a subclass of IlsTimerManager, install an IlsTimerManagerFactory.
Library 
<server>
Header File 
#include <ilserver/timer.h>
Synopsis 
class IlsTimerManager
{
protected:
virtual void triggerTimer(IlsTimer& t);
};
Protected Member Function 
[virtual] void triggerTimer(IlsTimer& t) ;
This virtual member function is called by the timer manager thread for each timer that must be triggered at the current time. By default, it call sthe timer callback, but this behavior can be overriden.
See Also 
IlsTimer, IlsTimerManagerFactory

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.