// comm Messages factory:
anna::Recycler<anna::diameter::comm::Message> a_commMessages;
- anna::Recycler<anna::diameter::codec::Message> a_codecMessages;
anna::comm::ServerSocket* a_httpServerSocket; // HTTP
MyLocalServer* a_diameterLocalServer; // DIAMETER
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); }
// 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();