File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 1414namespace isc {
1515namespace cb {
1616
17+ // / @brief Base class for server specific configuration backends.
1718class BaseConfigBackend {
1819public:
1920
21+ // / @brief Virtual destructor.
22+ virtual ~BaseConfigBackend () { }
2023
21- virtual ~BaseConfigBackend () {
22- }
23-
24+ // / @brief Returns backend type in the textual format.
2425 virtual std::string getType () const = 0;
2526
27+ // / @brief Returns backend host.
28+ // /
29+ // / This is used by the @c BaseConfigBackendPool to select backend
30+ // / when @c BackendSelector is specified.
31+ // /
32+ // / @return host on which the database is located.
2633 virtual std::string getHost () const = 0;
2734
35+ // / @brief Returns backend port number.
36+ // /
37+ // / This is used by the @c BaseConfigBackendPool to select backend
38+ // / when @c BackendSelector is specified.
39+ // /
40+ // / @return Port number on which database service is available.
2841 virtual uint16_t getPort () const = 0;
2942};
3043
44+ // / @brief Shared pointer to the @c BaseConfigBackend.
3145typedef boost::shared_ptr<BaseConfigBackend> BaseConfigBackendPtr;
3246
3347} // end of namespace isc::cb
You can’t perform that action at this time.
0 commit comments