21 #ifndef OLAD_OLADAEMON_H_
22 #define OLAD_OLADAEMON_H_
30 #include "ola/io/SelectServer.h"
31 #include "ola/network/Socket.h"
33 #include "olad/OlaServer.h"
52 OlaServer *GetOlaServer()
const {
return m_server.get(); }
60 std::vector<class PluginLoader*> m_plugin_loaders;
62 std::auto_ptr<class PreferencesFactory> m_preferences_factory;
63 std::auto_ptr<class OlaClientServiceFactory> m_service_factory;
64 std::auto_ptr<ola::network::TCPAcceptingSocket> m_accepting_socket;
65 std::auto_ptr<OlaServer> m_server;
67 std::string DefaultConfigDir();
68 bool InitConfigDir(
const std::string &path);
70 static const char K_RPC_PORT_VAR[];
71 static const char OLA_CONFIG_DIR[];
76 #endif // OLAD_OLADAEMON_H_