version 1.14, 2006/10/13 18:04:51
|
version 1.14.12.2, 2007/04/04 11:04:49
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// |
|
// Author: Dong Xiang, EMC Corporation (xiang_dong@emc.com) |
|
// |
|
// Modified By: Seema Gupta (gseema@in.ibm.com) for PEP135 |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#include "CIMListenerIndicationDispatcher.h" | #include "CIMListenerIndicationDispatcher.h" |
|
|
ContentLanguageList contentLangs) | ContentLanguageList contentLangs) |
{ | { |
// go thru all consumers and broadcast the result; should be run in seperate thread | // go thru all consumers and broadcast the result; should be run in seperate thread |
Iterator* it = _consumers->iterator(); |
AutoPtr<Iterator> it(_consumers->iterator()); |
while(it->hasNext()==true) | while(it->hasNext()==true) |
{ | { |
CIMIndicationConsumer* consumer = static_cast<CIMIndicationConsumer*>(it->next()); | CIMIndicationConsumer* consumer = static_cast<CIMIndicationConsumer*>(it->next()); |
|
|
Logger::put(Logger::STANDARD_LOG, System::CIMLISTENER, Logger::TRACE, | Logger::put(Logger::STANDARD_LOG, System::CIMLISTENER, Logger::TRACE, |
"Not enough threads to allocate a worker to deliver the event. "); | "Not enough threads to allocate a worker to deliver the event. "); |
| |
Tracer::trace(TRC_SERVER, Tracer::LEVEL2, |
PEG_TRACE_CSTRING(TRC_SERVER, Tracer::LEVEL2, |
"Could not allocate thread to deliver event. Instead using current thread."); | "Could not allocate thread to deliver event. Instead using current thread."); |
delete event; | delete event; |
throw Exception(MessageLoaderParms("Listener.CIMListenerIndicationDispatcher.CANNOT_ALLOCATE_THREAD", | throw Exception(MessageLoaderParms("Listener.CIMListenerIndicationDispatcher.CANNOT_ALLOCATE_THREAD", |