blob: 1e1f39fd07ef684003811a20d6aa8db52158dba5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <memory>
namespace config {
/*
* Class representing a source from which constructs config requests and request
* handlers.
*/
class Source {
public:
virtual void getConfig() = 0;
virtual void reload(int64_t generation) = 0;
virtual void close() = 0;
virtual ~Source() = default;
};
} // namespace common
|