X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;ds=sidebyside;f=example%2Fdiameter%2Flauncher%2FLauncher.hpp;h=b1bf52aa85e34b4bb0823f732b81eb8361c939bc;hb=6f990d26c49e6f5bbb31cb1a2a47615918b6c339;hp=25f20c82c5d3c8ac0324377012b1348af481212a;hpb=b105cc8fc16f1d9bf26969a209e3bf1d506a2ef3;p=anna.git diff --git a/example/diameter/launcher/Launcher.hpp b/example/diameter/launcher/Launcher.hpp index 25f20c8..b1bf52a 100644 --- a/example/diameter/launcher/Launcher.hpp +++ b/example/diameter/launcher/Launcher.hpp @@ -65,7 +65,6 @@ class Launcher : public anna::comm::Application { // comm Messages factory: anna::Recycler a_commMessages; - anna::Recycler a_codecMessages; anna::comm::ServerSocket* a_httpServerSocket; // HTTP MyLocalServer* a_diameterLocalServer; // DIAMETER @@ -76,15 +75,15 @@ class Launcher : public anna::comm::Application { public: Launcher(); - anna::diameter::codec::Engine *getCodecEngine() const throw() { return a_codecEngine; } + anna::diameter::codec::Engine *getCodecEngine() const throw() { return a_codecEngine; } // XXXXXXXXXXXXXXXXX El del nodo de trabajo MyCommunicator *getCommunicator() throw() { return a_communicator; } MyDiameterEngine* getMyDiameterEngine() const throw() { return (a_myDiameterEngine); } - void baseProtocolSetupAsClient(void) throw(anna::RuntimeException); + void baseProtocolSetupAsClient(anna::diameter::codec::Engine *codecEngine) throw(anna::RuntimeException); MyDiameterEntity *getEntity() throw() { return a_entity; } MyLocalServer* getDiameterLocalServer() throw() { return a_diameterLocalServer; } void eventOperation(const std::string &, std::string &) throw(anna::RuntimeException); bool logEnabled() const throw() { return (((a_logFile == "") || (a_logFile == "null")) ? false : true); } - void writeLogFile(const anna::DataBlock & db, const std::string &logExtension, const std::string &detail) const throw(); + void writeLogFile(const anna::DataBlock & db, const std::string &logExtension, const std::string &detail, anna::diameter::codec::Engine *codecEngine) const throw(); void writeLogFile(const anna::diameter::codec::Message & decodedMessage, const std::string &logExtension, const std::string &detail) const throw(); void writeBurstLogFile(const std::string &buffer) throw(); bool burstLogEnabled() const throw() { return (((a_burstLogFile == "") || (a_burstLogFile == "null")) ? false : true); } @@ -100,8 +99,6 @@ public: // Messages factory: anna::diameter::comm::Message *createCommMessage() throw(anna::RuntimeException); void releaseCommMessage(anna::diameter::comm::Message*) throw(); - anna::diameter::codec::Message *createCodecMessage() throw(anna::RuntimeException); - void releaseCodecMessage(anna::diameter::codec::Message*) throw(); // helpers bool getDataBlockFromHexFile(const std::string &pathfile, anna::DataBlock &db) const throw();