1 // ANNA - Anna is Not Nothingness Anymore //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
10 #include <anna/diameter/codec/tme/Message.hpp>
11 #include <anna/diameter/codec/tme/Engine.hpp>
12 #include <anna/core/functions.hpp>
15 using namespace anna::diameter::codec::tme;
18 //------------------------------------------------------------------------------
19 //--------------------------------------------------------- Message::getEngine()
20 //------------------------------------------------------------------------------
21 anna::diameter::codec::Engine * Message::getEngine() const throw(anna::RuntimeException) {
22 return a_engine ? a_engine : (a_engine = (anna::diameter::codec::Engine*)anna::functions::component <Engine> (ANNA_FILE_LOCATION));
26 //------------------------------------------------------------------------------
27 //-------------------------------------------------------- Message::initialize()
28 //------------------------------------------------------------------------------
29 void Message::initialize() throw() {
31 anna::diameter::codec::Message::initialize();