X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2FLauncher.hpp;h=1070e400e1fd4504bb979971e9065d93da983838;hp=7c3596cc83218099796c25502a7c1c03b3580782;hb=a4a2ff4e20ddc4c6de7f2d3efd3acfb16c0d91c1;hpb=61f81319bb14f08094488e8a2478ff4e0d6d661a diff --git a/example/diameter/launcher/Launcher.hpp b/example/diameter/launcher/Launcher.hpp index 7c3596c..1070e40 100644 --- a/example/diameter/launcher/Launcher.hpp +++ b/example/diameter/launcher/Launcher.hpp @@ -65,7 +65,6 @@ class Launcher : public anna::comm::Application { MyCounterRecorderClock *a_counterRecorderClock; // Nodes deployment: - origin_hosts_t a_originHosts; anna::diameter::comm::OriginHost *a_workingNode; anna::diameter::comm::OriginHost *a_operatedHost; // auxiliary for eventOperation @@ -90,9 +89,9 @@ public: void startServices() throw(anna::RuntimeException); bool setWorkingNode(const std::string &name) throw(); - anna::diameter::comm::OriginHost *getOriginHost(const std::string &oh) const throw(anna::RuntimeException); + 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); - bool uniqueOriginHost() const throw() { return (a_originHosts.size() == 1); } + bool uniqueOriginHost() const throw(); // Operated host for communication resources smart assignment //////////////////////////////////////////////////////////// void updateOperatedOriginHostWithMessage(const anna::diameter::codec::Message &message) throw(anna::RuntimeException);