summaryrefslogtreecommitdiffstats
path: root/configd/src/apps/sentinel/rpchooks.h
diff options
context:
space:
mode:
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);