Fixed configrpc module.

This commit is contained in:
Gunnar Beutner 2012-06-29 11:59:53 +02:00
parent 3c821c75ef
commit b54ebc56dc
1 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ void ConfigRpcComponent::FetchObjectsHandler(const Endpoint::Ptr& sender)
if (!ShouldReplicateObject(object)) if (!ShouldReplicateObject(object))
continue; continue;
RequestMessage request = MakeObjectMessage(object, "config::ObjectCreated", true); RequestMessage request = MakeObjectMessage(object, "config::ObjectCommitted", true);
EndpointManager::GetInstance()->SendUnicastMessage(m_ConfigRpcEndpoint, sender, request); EndpointManager::GetInstance()->SendUnicastMessage(m_ConfigRpcEndpoint, sender, request);
} }
@ -125,7 +125,7 @@ void ConfigRpcComponent::LocalObjectCommittedHandler(const ConfigObject::Ptr& ob
return; return;
EndpointManager::GetInstance()->SendMulticastMessage(m_ConfigRpcEndpoint, EndpointManager::GetInstance()->SendMulticastMessage(m_ConfigRpcEndpoint,
MakeObjectMessage(object, "config::ObjectCreated", true)); MakeObjectMessage(object, "config::ObjectCommitted", true));
} }
void ConfigRpcComponent::LocalObjectRemovedHandler(const ConfigObject::Ptr& object) void ConfigRpcComponent::LocalObjectRemovedHandler(const ConfigObject::Ptr& object)