21 #ifndef OLAD_OLADAEMON_H_
22 #define OLAD_OLADAEMON_H_
29 #include "ola/io/SelectServer.h"
30 #include "ola/network/Socket.h"
31 #include "ola/network/SocketAddress.h"
32 #include "olad/OlaServer.h"
54 OlaServer *GetOlaServer()
const {
return m_server.get(); }
62 vector<class PluginLoader*> m_plugin_loaders;
64 auto_ptr<class PreferencesFactory> m_preferences_factory;
65 auto_ptr<class OlaClientServiceFactory> m_service_factory;
66 auto_ptr<TCPAcceptingSocket> m_accepting_socket;
67 auto_ptr<OlaServer> m_server;
69 string DefaultConfigDir();
70 bool InitConfigDir(
const string &path);
75 static const char K_RPC_PORT_VAR[];
76 static const char OLA_CONFIG_DIR[];
79 #endif // OLAD_OLADAEMON_H_