version 1.21, 2008/08/15 17:24:53
|
version 1.22, 2008/08/28 17:24:40
|
|
|
| |
} catch (...) | } catch (...) |
{ | { |
PEG_TRACE_STRING( |
PEG_TRACE((TRC_LISTENER,Tracer::LEVEL1, |
TRC_LISTENER, |
"Exception caught in DynamicConsumerFacade::initialize for %s", |
Tracer::LEVEL1, |
(const char*)_name.getCString())); |
"Exception caught in DynamicConsumerFacade::initialize" |
|
" for " + _name); |
|
throw; | throw; |
} | } |
} | } |
|
|
| |
} catch (...) | } catch (...) |
{ | { |
PEG_TRACE_STRING( |
PEG_TRACE((TRC_LISTENER,Tracer::LEVEL1, |
TRC_LISTENER, |
"Exception caught in DynamicConsumerFacade::Terminate for %s", |
Tracer::LEVEL2, |
(const char*)_name.getCString())); |
"Exception caught in " |
|
"DynamicConsumerFacade::Terminate for " + _name); |
|
throw; | throw; |
} | } |
| |
|
|
| |
try | try |
{ | { |
PEG_TRACE_STRING( |
PEG_TRACE((TRC_LISTENER,Tracer::LEVEL4, |
TRC_LISTENER, |
"enqueueEvent before %s",(const char*)_name.getCString())); |
Tracer::LEVEL4, |
|
"enqueueEvent before " + _name); |
|
// Our event queue is first in first out. | // Our event queue is first in first out. |
_eventqueue.insert_back(event); | _eventqueue.insert_back(event); |
_check_queue->signal(); | _check_queue->signal(); |
| |
PEG_TRACE_STRING( |
PEG_TRACE((TRC_LISTENER,Tracer::LEVEL4, |
TRC_LISTENER, |
"enqueueEvent after %s",(const char*)_name.getCString())); |
Tracer::LEVEL4, |
|
"enqueueEvent after " + _name); |
|
| |
} catch (Exception& ex) | } catch (Exception& ex) |
{ | { |
//ATTN: Log missed indication | //ATTN: Log missed indication |
PEGASUS_STD(cout) << "Error enqueueing event" |
PEG_TRACE((TRC_LISTENER,Tracer::LEVEL1, |
<< ex.getMessage() << "\n"; |
"Exception at enqueueingEvent: %s", |
|
(const char*)ex.getMessage().getCString())); |
| |
} catch (...) | } catch (...) |
{ | { |
//ATTN: Log missed indication | //ATTN: Log missed indication |
PEGASUS_STD(cout) << "Unknown exception"; |
PEG_TRACE_CSTRING(TRC_LISTENER,Tracer::LEVEL1, |
|
"Unknow exception at enqueueingEvent!"); |
} | } |
| |
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
|
|
PEG_TRACE_CSTRING(TRC_LISTENER, Tracer::LEVEL4, "Increasing retries\n"); | PEG_TRACE_CSTRING(TRC_LISTENER, Tracer::LEVEL4, "Increasing retries\n"); |
_retries++; | _retries++; |
_lastAttemptTime = CIMDateTime::getCurrentDateTime(); | _lastAttemptTime = CIMDateTime::getCurrentDateTime(); |
PEG_TRACE_STRING( |
PEG_TRACE((TRC_LISTENER,Tracer::LEVEL4,"Last attempt time %s", |
TRC_LISTENER, |
(const char*)_lastAttemptTime.toString().getCString())); |
Tracer::LEVEL4, |
|
"Last attempt time " + _lastAttemptTime.toString()); |
|
} | } |
| |
CIMDateTime IndicationDispatchEvent::getLastAttemptTime() | CIMDateTime IndicationDispatchEvent::getLastAttemptTime() |