/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
- #ifndef NEBUAPPMONGO_MONGOCFGDAEMON_H_
- #define NEBUAPPMONGO_MONGOCFGDAEMON_H_
- #include "mongoDaemon.h"
- namespace nebu
- {
- namespace app
- {
- namespace mongo
- {
- class MongocfgDaemon : public MongoDaemon
- {
- public:
- MongocfgDaemon(std::shared_ptr<nebu::common::VirtualMachine> hostVM, int portNo) :
- MongoDaemon(hostVM, portNo) { }
- virtual ~MongocfgDaemon() { }
- virtual bool launch();
- virtual framework::DaemonType getType() const
- {
- return MongoDaemonType::CONFIG_SERVER;
- }
- };
- }
- }
- }
- #endif