diff options
Diffstat (limited to 'configd/src/apps/sentinel/config-handler.h')
-rw-r--r-- | configd/src/apps/sentinel/config-handler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configd/src/apps/sentinel/config-handler.h b/configd/src/apps/sentinel/config-handler.h index eb22b7fada1..e33bbf1c8da 100644 --- a/configd/src/apps/sentinel/config-handler.h +++ b/configd/src/apps/sentinel/config-handler.h @@ -4,6 +4,8 @@ #include "service.h" #include "metrics.h" #include "state-api.h" +#include "cmdq.h" +#include "rpcserver.h" #include <vespa/config-sentinel.h> #include <vespa/config/config.h> #include <sys/types.h> @@ -29,6 +31,8 @@ private: ServiceMap _services; std::list<CommandConnection *> _connections; std::list<OutputConnection *> _outputConnections; + CommandQueue _cmdQ; + std::unique_ptr<RpcServer> _rpcServer; int _boundPort; int _commandSocket; StartMetrics _startMetrics; @@ -41,6 +45,7 @@ private: Service *serviceByName(const vespalib::string & name); void handleCommands(); void handleCommand(CommandConnection *c); + void handleCmd(const Cmd& cmd); void handleOutputs(); void handleChildDeaths(); |