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 //
9 #ifndef anna_diameter_codec_tme_Message_hpp
10 #define anna_diameter_codec_tme_Message_hpp
14 #include <anna/diameter/codec/Message.hpp>
15 #include <anna/diameter/codec/tme/Avp.hpp>
18 //------------------------------------------------------------------------------
19 //---------------------------------------------------------------------- #define
20 //------------------------------------------------------------------------------
34 * Diameter TME message generic container
35 * Manages tme-specific formats (Unsigned16, ISDNAddress, ISDNNumber)
38 class Message : public anna::diameter::codec::Message {
42 // /** Codec Engine getter: avoids have to create base engine when using its child */
43 // virtual anna::diameter::codec::Engine * getEngine() const throw(anna::RuntimeException);
46 * Initializes Message class information.
47 * Any reimplementation must first invoke base class method.
49 virtual void initialize() throw();
55 * @param engine Codec engine used
57 Message(Engine *engine = NULL) : anna::diameter::codec::Message(engine) {;}
60 * Identified constructor
61 * @param id Command identifier as pair (code,request-indicator).
62 * @param engine Codec engine used
64 Message(CommandId id, Engine *engine = NULL) : anna::diameter::codec::Message(id, engine) {;}