Example #1
0
/**
 *	Constructor.
 */
ErrorReporter::ErrorReporter(EventDispatcher & dispatcher) :
	reportLimitTimerHandle_(),
	errorsAndCounts_()
{
	// report any pending exceptions every so often
	reportLimitTimerHandle_ = dispatcher.addTimer(
							ERROR_REPORT_MIN_PERIOD_MS * 1000, this);
}