Dynamic realm registration
[anna.git] / example / diameter / launcher / Launcher.hpp
index e420a1b..c8417fb 100644 (file)
@@ -62,7 +62,7 @@ class Launcher : public anna::comm::Application {
   anna::comm::ServerSocket* a_httpServerSocket; // HTTP
 
 
-  void servicesFromXML(const anna::xml::Node* servicesNode) throw(anna::RuntimeException);
+  void servicesFromXML(const anna::xml::Node* servicesNode, bool eventOperation) throw(anna::RuntimeException);
   anna::Millisecond checkTimeMeasure(const std::string &parameter, const std::string &value) throw(anna::RuntimeException);
   void initialize() throw(anna::RuntimeException); // HTTP
   void run() throw(anna::RuntimeException);
@@ -71,11 +71,11 @@ class Launcher : public anna::comm::Application {
 public:
   Launcher();
 
-  void loadServices(const std::string & xmlPathFile) throw(anna::RuntimeException);
+  void loadServices(const std::string & xmlPathFile, bool eventOperation = false) throw(anna::RuntimeException);
   void startServices() throw(anna::RuntimeException);
 
   anna::diameter::codec::Engine *getCodecEngine() const throw() { return a_codecEngine; }
-  RealmNode *getWorkingNode() const throw() { return a_workingNode; } // management operations working node
+  RealmNode *getWorkingNode() const throw(anna::RuntimeException); // management operations working node
   bool setWorkingNode(const std::string &name) throw(); // we could update ignoreFlagsOnValidation/integrationAndDebugging over the global codec engine
                                                         //  but finally, that configuration issues will be global to the process.