New feature to allow to register components with different names for same class:...
[anna.git] / example / diameter / launcher / Launcher.hpp
index d550ceb..25f20c8 100644 (file)
@@ -42,6 +42,7 @@ class Launcher : public anna::comm::Application {
   MyCommunicator *a_communicator;
   MyDiameterEngine *a_myDiameterEngine;
   MyDiameterEntity *a_entity;
+  anna::diameter::codec::Engine *a_codecEngine;
   std::string a_logFile, a_burstLogFile;
   std::ofstream a_burstLogStream;
   bool a_splitLog, a_detailedLog, a_dumpLog;
@@ -75,6 +76,7 @@ class Launcher : public anna::comm::Application {
 public:
   Launcher();
 
+  anna::diameter::codec::Engine *getCodecEngine() const throw() { return a_codecEngine; }
   MyCommunicator *getCommunicator() throw() { return a_communicator; }
   MyDiameterEngine* getMyDiameterEngine() const throw() { return (a_myDiameterEngine); }
   void baseProtocolSetupAsClient(void) throw(anna::RuntimeException);