summaryrefslogtreecommitdiffstats
path: root/configd/src/apps/sentinel/rpchooks.h
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2021-06-11 12:57:24 +0000
committerArne Juul <arnej@verizonmedia.com>2021-06-11 12:57:24 +0000
commit6f8792b0acfa3e417d124b519b6383065a6bfd7a (patch)
tree1aa4920a4dca29c97fc63dfb4cb86c1b61aed2f7 /configd/src/apps/sentinel/rpchooks.h
parente607968dff6eee82f22f8aacc35e31d4afa2d807 (diff)
add separate config subscriber for model
Diffstat (limited to 'configd/src/apps/sentinel/rpchooks.h')
-rw-r--r--configd/src/apps/sentinel/rpchooks.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/configd/src/apps/sentinel/rpchooks.h b/configd/src/apps/sentinel/rpchooks.h
index 5b6cf878f26..badfd560034 100644
--- a/configd/src/apps/sentinel/rpchooks.h
+++ b/configd/src/apps/sentinel/rpchooks.h
@@ -2,6 +2,7 @@
#pragma once
+#include "model-subscriber.h"
#include <vespa/fnet/frt/invokable.h>
#include <memory>
@@ -25,8 +26,9 @@ class RPCHooks : public FRT_Invokable
private:
CommandQueue &_commands;
FRT_Supervisor &_orb;
+ ModelSubscriber &_modelSubscriber;
public:
- RPCHooks(CommandQueue &commands, FRT_Supervisor &supervisor);
+ RPCHooks(CommandQueue &commands, FRT_Supervisor &supervisor, ModelSubscriber &modelSubscriber);
~RPCHooks() override;
private:
void initRPC(FRT_Supervisor *supervisor);