X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=source%2Fdiameter.comm%2FTimerManager.cpp;h=c17b511d5393860d38d1e8247275fdee10813095;hb=4275d46f5d3c3a150ced258ae20c985520f6477a;hp=c98e5d6459355d727b3e95c59394a315f07cecee;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git 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);