Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

LogConsumerServantFactory.h

Go to the documentation of this file.
00001 00031 #ifndef LOGCONSUMERSERVANTFACTORY_H 00032 #define LOGCONSUMERSERVANTFACTORY_H 00033 00034 #include "ServantFactory_Activator.h" 00035 #include "LogConsumerActivator_Impl.h" 00036 #include "LogState.h" 00037 00038 00055 class LogConsumerServantFactory : 00056 virtual public ServantFactory_Activator 00057 00058 { 00059 00060 public: 00066 LogConsumerServantFactory(); 00067 00073 virtual ~LogConsumerServantFactory(); 00074 00080 LogState& log_state(); 00081 00082 protected: 00083 00093 virtual void build_activator( 00094 CORBA::ORB_ptr orb, 00095 PortableServer::POA_ptr poa 00096 ) 00097 throw(ServantFactory::ServantBuildException); 00098 00099 private: 00100 LogConsumerActivator_Impl* _activator; 00101 LogState* _log_state; 00102 00103 std::string _log_id; 00104 std::string _log_dir; 00105 00106 std::string _getLogIdConf() 00107 throw(ServantFactory::ServantBuildException); 00108 std::string _getLogDir(); 00109 unsigned long _getMaxSize(); 00110 std::string _get_queue_size() 00111 throw(ServantFactory::ServantBuildException); 00112 }; 00113 00114 #endif