/** * @RDE_HEADER@ * Routing Test - main object * $Id$ * $HeadURL$ * $Author$ */ #pragma once #include #include "logger.h" #include "partition_handler.h" #include "session_handler.h" #include "session.h" #include namespace Core { class Pacemaker; } namespace RoutingService { class TopicDispatcherInterface; class MainHandler : public QObject { public: explicit MainHandler(); ~MainHandler(); bool init(int domainIdIn, int domainIdOut, unsigned short tcpPortOut); void shutdown(); private: std::unique_ptr m_sessionHandler; std::unique_ptr m_partitionHandler; std::shared_ptr m_pacemaker; NGL::INGLLogger &m_logger; }; } // namespace RoutingService