X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fdiameter.comm%2FTimerManager.cpp;fp=source%2Fdiameter.comm%2FTimerManager.cpp;h=c17b511d5393860d38d1e8247275fdee10813095;hp=c98e5d6459355d727b3e95c59394a315f07cecee;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/diameter.comm/TimerManager.cpp b/source/diameter.comm/TimerManager.cpp index c98e5d6..c17b511 100644 --- a/source/diameter.comm/TimerManager.cpp +++ b/source/diameter.comm/TimerManager.cpp @@ -30,7 +30,7 @@ TimerManager::TimerManager() : // seccion critica, lo que evita interbloqueos. //------------------------------------------------------------------------------------------------------- Timer* TimerManager::createTimer(Session* session, const anna::diameter::comm::Timer::Type::_v type) -throw(anna::RuntimeException) { +noexcept(false) { Timer* result(NULL); if(a_timeController == NULL) @@ -57,7 +57,7 @@ throw(anna::RuntimeException) { Timer* TimerManager::createTimer(Response* response) -throw(anna::RuntimeException) { +noexcept(false) { Timer* result(NULL); if(a_timeController == NULL) @@ -84,7 +84,7 @@ throw(anna::RuntimeException) { Timer* TimerManager::createTimer(LocalServer* localServer) -throw(anna::RuntimeException) { +noexcept(false) { Timer* result(NULL); if(a_timeController == NULL) @@ -108,7 +108,7 @@ throw(anna::RuntimeException) { void TimerManager::cancelTimer(Timer* timer) -throw() { +{ if(timer == NULL) return; @@ -132,7 +132,7 @@ throw() { // Se invoca automaticamente desde anna::timex::Engine //------------------------------------------------------------------------------------------ void TimerManager::release(anna::timex::TimeEvent* timeEvent) -throw() { +{ Timer* timer = static_cast (timeEvent); timer->setContext(NULL); a_timers.release(timer);