lux/dist/server_config_helper.h

00001 #ifndef LUX_DIST_SERVERCONFIG_H
00002 #define LUX_DIST_SERVERCONFIG_H
00003 
00004 #include "server-config.pb.h"
00005 
00006 namespace Lux {
00007 namespace Dist {
00008 
00009   class ServerConfigHelper {
00010   public:
00011     ServerConfigHelper(std::string service);
00012     ~ServerConfigHelper(void);
00013     Lux::Config::Dispatchers get_dispatchers(void);
00014     Lux::Config::Dispatcher get_dispatcher(int dispatcher_id);
00015     Lux::Config::Cluster get_cluster(int cluster_id);
00016   private:
00017     Lux::Config::ServerConfig *config_;
00018     static std::string default_config_dir_;
00019   };
00020 
00021 }
00022 }
00023 
00024 #endif

Generated on Fri Feb 5 15:50:30 2010 for Lux by  doxygen 1.4.7