1 #ifndef RECODEX_BROKER_CORE_H 2 #define RECODEX_BROKER_CORE_H 4 #include "spdlog/spdlog.h" 11 #include <yaml-cpp/yaml.h> 13 #define BOOST_FILESYSTEM_NO_DEPRECATED 14 #define BOOST_NO_CXX11_SCOPED_ENUMS 15 #include <boost/filesystem.hpp> 16 #include <boost/program_options.hpp> 17 namespace fs = boost::filesystem;
21 #include "broker_connect.h" 22 #include "config/broker_config.h" 23 #include "config/log_config.h" 24 #include "notifier/http_status_notifier.h" 25 #include "reactor/command_holder.h" 94 void force_exit(std::string msg =
"");
109 std::vector<std::string> args_;
112 std::string config_filename_;
115 std::shared_ptr<broker_config> config_;
118 std::shared_ptr<spdlog::logger> logger_;
121 std::shared_ptr<worker_registry> workers_;
124 std::shared_ptr<zmq::context_t> context_;
127 std::shared_ptr<broker_connect> broker_;
130 #endif // RECODEX_BROKER_CORE_H
broker_core & operator=(const broker_core &source)=delete