diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-02 14:44:04 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-02 14:44:04 +0200 |
commit | e57152a107add539568d8db3940a75682a76cb31 (patch) | |
tree | 2600a0545ef095d9a85aadf1083ea755b42bcc0b /slobrok | |
parent | 79452bcb5bd0133f80e92991e5bd00a9e85301a6 (diff) |
Add missing file
Diffstat (limited to 'slobrok')
-rw-r--r-- | slobrok/src/vespa/slobrok/server/configshim.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/slobrok/src/vespa/slobrok/server/configshim.cpp b/slobrok/src/vespa/slobrok/server/configshim.cpp new file mode 100644 index 00000000000..a13b80fe1ca --- /dev/null +++ b/slobrok/src/vespa/slobrok/server/configshim.cpp @@ -0,0 +1,28 @@ +// Copyright 2016 Yahoo Inc. 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), _statePort(0), _configId(""), + _factory(config::ConfigUri::createEmpty()) +{} + +ConfigShim::ConfigShim(uint32_t port, uint32_t statePort_in, const std::string& cfgId) + : _port(port), + _statePort(statePort_in), + _configId(cfgId), + _factory(config::ConfigUri(_configId)) +{} + +ConfigShim::ConfigShim(uint32_t port, const std::string& cfgId, config::IConfigContext::SP cfgCtx) + : _port(port), + _statePort(0), + _configId(cfgId), + _factory(config::ConfigUri(cfgId, cfgCtx)) +{} + +ConfigShim::~ConfigShim() {} + +} |