void _pmdController::onTimer( UINT32 interval ) { _timeCounter += interval ; if ( _timeCounter > 10 * OSS_ONE_SEC ) { _checkSession( interval ) ; _timeCounter = 0 ; } }
void _pmdController::onTimer( UINT32 interval ) { _timeCounter += interval ; if ( _timeCounter > 10 * OSS_ONE_SEC ) { _checkSession( interval ) ; _timeCounter = 0 ; } map< _netFrame*, INT32 >::iterator it = _mapMonNets.begin() ; while( it != _mapMonNets.end() ) { it->first->heartbeat( OSS_ONE_SEC, it->second ) ; ++it ; } }