ANNA Suite
2020b
Multipurpose development suite for Telco applications
|
#include <Engine.hpp>
Public Member Functions | |
Engine (const char *className, const stack::Dictionary *dictionary) | |
void | releaseAvp (Avp *avp) |
void | releaseMessage (Message *message) |
Public Member Functions inherited from anna::diameter::codec::EngineImpl | |
Avp * | createAvp (const AvpId *id) noexcept(false) |
Message * | createMessage (const CommandId *id) noexcept(false) |
EngineImpl (const char *className, const stack::Dictionary *dictionary) | |
virtual | ~EngineImpl () |
const stack::Dictionary * | getDictionary () const |
void | setValidationDepth (const ValidationDepth::_v validationDepth) |
ValidationDepth::_v | getValidationDepth () const |
void | ignoreFlagsOnValidation (bool ignoreFlags) |
bool | ignoreFlagsOnValidation () const |
void | setValidationMode (const ValidationMode::_v validationMode) |
ValidationMode::_v | getValidationMode () const |
void | setFixMode (const FixMode::_v fixMode) |
FixMode::_v | getFixMode () const |
void | setSingleFailedAVP (bool single=true) |
bool | getSingleFailedAVP () const |
Avp * | createAvp (AvpId id) noexcept(false) |
Avp * | createAvp () noexcept(false) |
Message * | createMessage (CommandId id) noexcept(false) |
Message * | createMessage () noexcept(false) |
Message * | createMessage (const std::string &xmlPathFile_or_string, bool pathfile_or_string=true) noexcept(false) |
virtual std::string | asString (void) const |
virtual anna::xml::Node * | asXML (anna::xml::Node *parent) const |
AvpId | avpIdForName (const char *name) noexcept(false) |
CommandId | commandIdForName (const char *name) noexcept(false) |
Public Member Functions inherited from anna::Component | |
virtual | ~Component () |
const char * | getClassName () const |
Public Member Functions inherited from anna::Mutex | |
Mutex (const Mode::_v mode=Mode::Recursive) | |
virtual | ~Mutex () |
virtual void | lock () noexcept(false) |
virtual void | unlock () |
bool | trylock () noexcept(false) |
operator const pthread_mutex_t * () const | |
Protected Member Functions | |
anna::diameter::codec::Avp * | allocateAvp () |
anna::diameter::codec::Message * | allocateMessage () |
Protected Member Functions inherited from anna::diameter::codec::EngineImpl | |
void | validationAnomaly (const std::string &description) const noexcept(false) |
Protected Member Functions inherited from anna::Component | |
Component (const char *className) | |
Component (const Component &other) | |
Protected Member Functions inherited from anna::Safe | |
Safe () | |
Protected Attributes | |
anna::Recycler< Avp > | a_avps |
anna::Recycler< Message > | a_messages |
Protected Attributes inherited from anna::Component | |
const std::string | a_className |
Friends | |
class | Message |
class | Avp |
|
inline |
Constructor
className | Logical name for the class. |
|
inlineprotectedvirtual |
Avp allocator method.
It is recommended to use anna::Recycler for Avps creation/releasing.
Implements anna::diameter::codec::EngineImpl.
|
inlineprotectedvirtual |
Message allocator method.
It is recommended to use anna::Recycler for Message creation/releasing.
Implements anna::diameter::codec::EngineImpl.
|
inlinevirtual |
Invoked to free Avps.
Implements anna::diameter::codec::EngineImpl.
|
inlinevirtual |
Invoked to free Messages.
Implements anna::diameter::codec::EngineImpl.
|
friend |
|
friend |
|
protected |
|
protected |