/include/mongocfgDaemon.h

https://github.com/deltaforge/nebu-app-mongo · C Header · 34 lines · 25 code · 9 blank · 0 comment · 0 complexity · 1bb0d161f39c95b618339da7341a9669 MD5 · raw file

  1. #ifndef NEBUAPPMONGO_MONGOCFGDAEMON_H_
  2. #define NEBUAPPMONGO_MONGOCFGDAEMON_H_
  3. #include "mongoDaemon.h"
  4. namespace nebu
  5. {
  6. namespace app
  7. {
  8. namespace mongo
  9. {
  10. class MongocfgDaemon : public MongoDaemon
  11. {
  12. public:
  13. MongocfgDaemon(std::shared_ptr<nebu::common::VirtualMachine> hostVM, int portNo) :
  14. MongoDaemon(hostVM, portNo) { }
  15. virtual ~MongocfgDaemon() { }
  16. virtual bool launch();
  17. virtual framework::DaemonType getType() const
  18. {
  19. return MongoDaemonType::CONFIG_SERVER;
  20. }
  21. };
  22. }
  23. }
  24. }
  25. #endif