// Update our statistics int CollectorBaseStats::updateStats ( bool sequenced, int dropped ) { m_recently_updated = true; // Store this update storeStats( sequenced, dropped ); // Done return 0; }
//Handle the Stage events sent void SedaStatsStage::handleEvent(StageEvent* event) { SedaStatsEvent* statsEv = NULL; if ((statsEv = dynamic_cast<SedaStatsEvent*> (event))) { storeStats(statsEv); return; } else { LOG_ERROR("Unknow event type in handleEvent"); event->done(); } return ; }