void ServiceDiscovery::update(const ServiceDescription& desc) 
{
    if(mLocalService != NULL) 
    {
        std::list<std::string> raw_desc = desc.getRawDescriptions();
        UniqueClientLock lock;
        mLocalService->updateStringList(raw_desc);

        LOG_INFO("Updated local service: %s", mLocalService->getName().c_str());
    } else {
        LOG_FATAL("Service Discovery tries to update a description on a non-started local service.\n");
        throw std::runtime_error("Service Discovery tries to update a description on a non-started local service");
    }
}