summaryrefslogtreecommitdiffstats
path: root/logforwarder/src/apps/vespa-logforwarder-start/cf-handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'logforwarder/src/apps/vespa-logforwarder-start/cf-handler.h')
-rw-r--r--logforwarder/src/apps/vespa-logforwarder-start/cf-handler.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/logforwarder/src/apps/vespa-logforwarder-start/cf-handler.h b/logforwarder/src/apps/vespa-logforwarder-start/cf-handler.h
index 651b8d22fa8..c66be0e2099 100644
--- a/logforwarder/src/apps/vespa-logforwarder-start/cf-handler.h
+++ b/logforwarder/src/apps/vespa-logforwarder-start/cf-handler.h
@@ -1,7 +1,6 @@
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
-#include "child-handler.h"
#include <vespa/config-logforwarder.h>
#include <vespa/config/subscription/configsubscriber.h>
@@ -9,7 +8,6 @@ using cloud::config::LogforwarderConfig;
class CfHandler {
private:
- ChildHandler _childHandler;
config::ConfigSubscriber _subscriber;
config::ConfigHandle<LogforwarderConfig>::UP _handle;
void subscribe(const std::string & configId, std::chrono::milliseconds timeout);
@@ -18,6 +16,7 @@ public:
CfHandler();
virtual ~CfHandler();
void start(const char *configId);
- void stop();
void check();
+
+ virtual void gotConfig(const LogforwarderConfig&) = 0;
};