X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fdiameter.comm%2FEngine.hpp;h=4416becb7eb5c18ff8cf572d42bafb1a6a6f5b93;hp=dcc31618bb2d9eb86dd7d053060247eb6902bd5f;hb=bc8edd446b493d53cd351b7ed4c62dce0e305e0c;hpb=cac05d18bea0e6f086fc59abe2309b8e0bc0bc7d diff --git a/include/anna/diameter.comm/Engine.hpp b/include/anna/diameter.comm/Engine.hpp index dcc3161..4416bec 100644 --- a/include/anna/diameter.comm/Engine.hpp +++ b/include/anna/diameter.comm/Engine.hpp @@ -704,6 +704,13 @@ protected: */ virtual void releaseLocalServer(LocalServer*) throw() {;} + // Gets the base protocol codec engine used internally. + // This engine is initializaed on constructor with the base protocol dictionary. + // The reason to not reuse any other codec engine from the application is to have this one isolated with no interference + // regarding configuration changes (validation depth/mode, fix mode, etc.). + // + // @return Pointer to the internal base protocol codec engine + codec::Engine *getBaseProtocolCodecEngine() const throw() { return const_cast(&a_baseProtocolCodecEngine); } private: @@ -751,14 +758,6 @@ private: void assertBaseProtocolHealth() throw(anna::RuntimeException); // checks the dictionary - // Gets the base protocol codec engine used internally. - // This engine is initializaed on constructor with the base protocol dictionary. - // The reason to not reuse any other codec engine from the application is to have this one isolated with no interference - // regarding configuration changes (validation depth/mode, fix mode, etc.). - // - // @return Pointer to the internal base protocol codec engine - codec::Engine *getBaseProtocolCodecEngine() const throw() { return const_cast(&a_baseProtocolCodecEngine); } - ////////////////////////// // CLIENT FUNCTIONALITY // //////////////////////////