Changed LICENSE. Now referenced to web site and file on project root directory
[anna.git] / source / diameter / codec / tme / Message.cpp
1 // ANNA - Anna is Not Nothingness Anymore                                                         //
2 //                                                                                                //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo                         //
4 //                                                                                                //
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 //
7
8
9 // Local
10 #include <anna/diameter/codec/tme/Message.hpp>
11 #include <anna/diameter/codec/tme/Engine.hpp>
12 #include <anna/core/functions.hpp>
13
14
15 using namespace anna::diameter::codec::tme;
16
17
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));
23 }
24
25
26 //------------------------------------------------------------------------------
27 //-------------------------------------------------------- Message::initialize()
28 //------------------------------------------------------------------------------
29 void Message::initialize() throw() {
30   // Base class method:
31   anna::diameter::codec::Message::initialize();
32 }
33
34