Server
API Reference Guide
Product Documentation:

Rogue Wave Server
Documentation Home
List of all members | Protected Member Functions
IlsTimerManager Class Reference

This singleton manages all the timers that have been posted in the application. More...

#include <ilserver/timer.h>

Inheritance diagram for IlsTimerManager:
IlsTcpTimerManager

Protected Member Functions

virtual void triggerTimer (IlsTimer &t)
 Called by the timer manager thread for each timer that must be triggered at the current time. More...
 

Detailed Description

This singleton manages all the timers that have been posted in the application.

Library: server
and mvcomp

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.

stop() method must be called in the destructor of a derived class.

To create a subclass of IlsTimerManager, install an IlsTimerManagerFactory.

See also
IlsTimer, IlsTimerManagerFactory.

Member Function Documentation

◆ triggerTimer()

virtual void IlsTimerManager::triggerTimer ( IlsTimer t)
protectedvirtual

Called by the timer manager thread for each timer that must be triggered at the current time.

By default, it calls the timer callback, but this behavior can be overriden.

Reimplemented in IlsTcpTimerManager.