Add third work package for REST API implementation
[anna.git] / example / diameter / launcher / Launcher.hpp
index dab3415..4a7f392 100644 (file)
@@ -75,7 +75,6 @@ class Launcher : public anna::comm::Application {
   std::string getSignalUSR2OutputFile() const throw();
 
   void servicesFromXML(const anna::xml::Node* servicesNode, bool bindResources) 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);
 
@@ -85,6 +84,8 @@ public:
   Launcher();
   //~Launcher(); TODO
 
+  anna::Millisecond checkTimeMeasure(const std::string &parameter, const std::string &value) throw(anna::RuntimeException);
+
   void loadServicesFromFile(const std::string & xmlPathFile, bool bindResources) throw(anna::RuntimeException);
   void loadServicesFromXMLString(const std::string & xmlString, bool bindResources) throw(anna::RuntimeException);
   void startServices() throw(anna::RuntimeException);
@@ -93,10 +94,13 @@ public:
   void setNodeAuto() { a_workingNode = NULL; a_operatedHost = NULL; }
   anna::diameter::comm::OriginHost *getOriginHost(const std::string &name) const throw(anna::RuntimeException);
   anna::diameter::comm::OriginHost *getOriginHost(const anna::diameter::codec::Message &message) const throw(anna::RuntimeException);
+  anna::diameter::comm::OriginHost *getOriginHost(const anna::DataBlock &messageDataBlock) const throw(anna::RuntimeException);
+
   bool uniqueOriginHost() const throw();
 
   // Operated host for communication resources smart assignment ////////////////////////////////////////////////////////////
   void updateOperatedOriginHostWithMessage(const anna::diameter::codec::Message &message) throw(anna::RuntimeException);
+  void updateOperatedOriginHostWithMessage(const anna::DataBlock &messageDataBlock) throw(anna::RuntimeException);
   anna::diameter::comm::OriginHost *getWorkingNode() const throw(anna::RuntimeException);
   anna::diameter::comm::OriginHost *getOperatedHost() const throw(anna::RuntimeException);
   void setOperatedHost(anna::diameter::comm::OriginHost *);