X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Ftesting%2FTestManager.hpp;h=10ca0972e5831204c66506b6e475677083895ab9;hb=2dc559e7fbe3f250f5aff1a23614181fc0b2e7f1;hp=af40fbff5d09434c798f2d9020a3bcbc60032389;hpb=0a29aaeb86cc31d808f88d8c9a046f5858ed3089;p=anna.git diff --git a/example/diameter/launcher/testing/TestManager.hpp b/example/diameter/launcher/testing/TestManager.hpp index af40fbf..10ca097 100644 --- a/example/diameter/launcher/testing/TestManager.hpp +++ b/example/diameter/launcher/testing/TestManager.hpp @@ -40,7 +40,7 @@ namespace anna { class TestClock; class TestCase; class TestCaseStep; -class RealmNode; +class OriginHost; typedef std::map test_pool_t; @@ -62,6 +62,7 @@ class TestManager : public anna::timex::TimeEventObserver, public anna::Singleto unsigned int a_sucessTcs; public: + StatSummary() { clear(); } void newTCState(const TestCase::State::_v beginState, const TestCase::State::_v endState) throw(); void clear() throw(); unsigned int getInProgressCount() const throw() { return a_inprogressTcs; } @@ -162,8 +163,8 @@ class TestManager : public anna::timex::TimeEventObserver, public anna::Singleto // Main logic TestCase *getTestCaseFromSessionId(const anna::DataBlock &message, std::string &sessionId) throw(); - void receiveMessage(const anna::DataBlock &message, RealmNode *realm, const anna::diameter::comm::ClientSession *clientSession) throw(anna::RuntimeException); - void receiveMessage(const anna::DataBlock &message, RealmNode *realm, const anna::diameter::comm::ServerSession *serverSession) throw(anna::RuntimeException); + void receiveMessage(const anna::DataBlock &message, OriginHost *host, const anna::diameter::comm::ClientSession *clientSession) throw(anna::RuntimeException); + void receiveMessage(const anna::DataBlock &message, OriginHost *host, const anna::diameter::comm::ServerSession *serverSession) throw(anna::RuntimeException); anna::xml::Node* asXML(anna::xml::Node* parent) const throw(); std::string asXMLString() const throw();