version 1.31, 2006/07/23 18:02:38
|
version 1.32, 2006/07/25 19:02:39
|
|
|
PEG_METHOD_ENTER(TRC_CONFIG, | PEG_METHOD_ENTER(TRC_CONFIG, |
"ConfigSettingProvider::_sendNotifyConfigChangeMessage"); | "ConfigSettingProvider::_sendNotifyConfigChangeMessage"); |
| |
pegasus_internal_identity _id = peg_credential_types::PROVIDER; |
ModuleController* controller = ModuleController::getModuleController(); |
ModuleController * _controller; |
|
ModuleController::client_handle *_client_handle; |
|
|
|
_controller = &(ModuleController::get_client_handle(_id, &_client_handle)); |
|
if(_client_handle == NULL) |
|
{ |
|
PEG_METHOD_EXIT(); |
|
throw UninitializedObjectException(); |
|
} |
|
| |
MessageQueue * queue = MessageQueue::lookup( | MessageQueue * queue = MessageQueue::lookup( |
PEGASUS_QUEUENAME_PROVIDERMANAGER_CPP); | PEGASUS_QUEUENAME_PROVIDERMANAGER_CPP); |
|
|
service->getQueueId()); | service->getQueueId()); |
| |
AutoPtr<AsyncReply> asyncReply( | AutoPtr<AsyncReply> asyncReply( |
_controller->ClientSendWait(*_client_handle, |
controller->ClientSendWait(service->getQueueId(), &asyncRequest)); |
service->getQueueId(), |
|
&asyncRequest)); |
|
| |
AutoPtr<CIMNotifyConfigChangeResponseMessage> response( | AutoPtr<CIMNotifyConfigChangeResponseMessage> response( |
reinterpret_cast<CIMNotifyConfigChangeResponseMessage *>( | reinterpret_cast<CIMNotifyConfigChangeResponseMessage *>( |