// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "configshim.h" namespace slobrok { ConfigShim::ConfigShim(uint32_t port) : _port(port), _enableStateServer(false), _configId(""), _factory(config::ConfigUri::createEmpty()) {} ConfigShim::ConfigShim(uint32_t port, const std::string& cfgId) : _port(port), _enableStateServer(false), _configId(cfgId), _factory(config::ConfigUri(_configId)) {} ConfigShim::ConfigShim(uint32_t port, const std::string& cfgId, std::shared_ptr cfgCtx) : _port(port), _enableStateServer(false), _configId(cfgId), _factory(config::ConfigUri(cfgId, std::move(cfgCtx))) {} ConfigShim::~ConfigShim() = default; }