version 1.61, 2007/06/15 17:35:49
|
version 1.62, 2007/07/03 19:19:31
|
|
|
*pr._cimom_handle); | *pr._cimom_handle); |
srec->qContext = qContext; | srec->qContext = qContext; |
| |
CIMObjectPath sPath (request->subscriptionInstance.getPath ().getClassName ().getString ()); |
CIMObjectPath sPath = request->subscriptionInstance.getPath (); |
|
Array<CIMKeyBinding> kb; |
| |
sPath.setNameSpace (request->subscriptionInstance.getPath ().getNameSpace ()); |
// Technically we only need Name and Handler for uniqueness |
|
kb = sPath.getKeyBindings (); |
|
|
|
// Add an entry for every provider. |
|
kb.append (CIMKeyBinding ("Provider", |
|
pr.getName (), |
|
CIMKeyBinding::STRING)); |
|
|
|
sPath.setKeyBindings (kb); |
| |
AutoMutex lock (mutexSelxTab); | AutoMutex lock (mutexSelxTab); |
| |
|
|
} | } |
| |
{ | { |
CIMObjectPath sPath (request->subscriptionInstance.getPath ().getClassName ().getString ()); |
CIMObjectPath sPath = request->subscriptionInstance.getPath (); |
|
Array<CIMKeyBinding> kb; |
|
|
|
// Technically we only need Name and Handler for uniqueness |
|
kb = sPath.getKeyBindings (); |
| |
sPath.setNameSpace (request->subscriptionInstance.getPath ().getNameSpace ()); |
// Add an entry for every provider. |
|
kb.append (CIMKeyBinding ("Provider", |
|
pr.getName (), |
|
CIMKeyBinding::STRING)); |
|
|
|
sPath.setKeyBindings (kb); |
| |
String sPathString = sPath.toString (); | String sPathString = sPath.toString (); |
| |
|
|
| |
DDD(PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleDeleteSubscriptionRequest: Removing selxTab "<<sPathString<<PEGASUS_STD(endl)); | DDD(PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleDeleteSubscriptionRequest: Removing selxTab "<<sPathString<<PEGASUS_STD(endl)); |
| |
selxTab.lookup (sPathString, srec); |
if (!selxTab.lookup (sPathString, srec)) |
|
{ |
|
PEGASUS_ASSERT(0); |
|
} |
| |
DDD(PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleDeleteSubscriptionRequest: For selxTab "<<sPathString<<", srec = "<<PEGASUS_STD(hex)<<(long)srec<<PEGASUS_STD(dec)<<", qContext = "<<PEGASUS_STD(hex)<<(long)srec->qContext<<PEGASUS_STD(dec)<<PEGASUS_STD(endl)); | DDD(PEGASUS_STD(cout)<<"--- JMPIProviderManager::handleDeleteSubscriptionRequest: For selxTab "<<sPathString<<", srec = "<<PEGASUS_STD(hex)<<(long)srec<<PEGASUS_STD(dec)<<", qContext = "<<PEGASUS_STD(hex)<<(long)srec->qContext<<PEGASUS_STD(dec)<<PEGASUS_STD(endl)); |
| |