X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2FRealmNode.hpp;h=774e858ca335363a919eb9036b5151d4598d3565;hb=cbbe8862e2d4f395e61c1939fbbabf9e7f92fa2b;hp=a8a49fd6d31ccaa0dac433011b3a56b7d2c1c5cb;hpb=4c3f0a4d7e4db76996404d80c6f939548fca656f;p=anna.git diff --git a/example/diameter/launcher/RealmNode.hpp b/example/diameter/launcher/RealmNode.hpp index a8a49fd..774e858 100644 --- a/example/diameter/launcher/RealmNode.hpp +++ b/example/diameter/launcher/RealmNode.hpp @@ -25,6 +25,9 @@ namespace anna { namespace codec { class Engine; } + namespace stack { + class Dictionary; + } namespace comm { class Message; } @@ -50,7 +53,6 @@ class RealmNode { // main std::string a_originRealm; - unsigned int a_applicationId; // Timming anna::Millisecond a_allowedInactivityTime; @@ -74,13 +76,13 @@ class RealmNode { int a_burstPopCounter; public: - RealmNode(const std::string &originRealm, unsigned int applicationId, anna::diameter::codec::Engine *codecEngine); + RealmNode(const std::string &originRealm, anna::diameter::codec::Engine *codecEngine, const anna::diameter::stack::Dictionary *baseProtocolDictionary); ~RealmNode() {;} // Core resources: MyDiameterEngine* getMyDiameterEngine() const throw() { return a_commEngine; } anna::diameter::codec::Engine *getCodecEngine() const throw() { return a_codecEngine; } - void createEntity(const std::string &entityRepresentation, const anna::Millisecond &bindTimeout, const anna::Millisecond &applicationTimeout) throw(); + void createEntity(const std::string &entityRepresentation, const anna::Millisecond &bindTimeout, const anna::Millisecond &applicationTimeout) throw(anna::RuntimeException); MyDiameterEntity *getEntity() const throw() { return a_entity; } void startDiameterServer(const std::string &serverRepresentation, int sessions, const anna::Millisecond &inactivityTimeout) throw(anna::RuntimeException); MyLocalServer* getDiameterServer() throw() { return a_diameterServer; }