|
| Message (Engine *engine=NULL) |
|
| Message (CommandId id, Engine *engine=NULL) |
|
| Message (Engine *engine=NULL) |
|
| Message (CommandId id, Engine *engine=NULL) |
|
void | setEngine (Engine *engine) |
|
virtual | ~Message () |
|
void | setId (CommandId id) noexcept(false) |
|
void | setId (const char *name) noexcept(false) |
|
void | setVersion (U8 version) |
|
void | setProxiableBit (bool activate=true) |
|
void | setErrorBit (bool activate=true) |
|
void | setPotentiallyReTransmittedMessageBit (bool activate=true) |
|
void | setApplicationId (U32 aid) noexcept(false) |
|
void | setHopByHop (U32 hbh) |
|
void | setEndToEnd (U32 ete) |
|
void | setHeaderToAnswer (const Message &request) noexcept(false) |
|
void | setStandardToAnswer (const Message &request, const std::string &originHost, const std::string &originRealm, int resultCode=helpers::base::AVPVALUES__Result_Code::DIAMETER_SUCCESS) noexcept(false) |
|
void | setResultCode (int rc=helpers::base::AVPVALUES__Result_Code::DIAMETER_SUCCESS) noexcept(false) |
|
int | getResultCode () const |
|
Avp * | addAvp (AvpId id) noexcept(false) |
|
Avp * | addAvp (const char *name) noexcept(false) |
|
Avp * | addAvp (Avp *avp) |
|
bool | removeAvp (AvpId id, int ocurrence=1) noexcept(false) |
|
bool | removeAvp (const char *name, int ocurrence=1) noexcept(false) |
|
virtual void | clear (bool resetEngine=true) noexcept(false) |
|
void | decode (const anna::DataBlock &db, Message *ptrAnswer=NULL) noexcept(false) |
|
void | fix () |
|
bool | valid (Message *ptrAnswer=NULL) const noexcept(false) |
|
void | fromXML (const anna::xml::Node *messageNode) noexcept(false) |
|
void | loadXMLFile (const std::string &xmlPathFile) noexcept(false) |
|
void | loadXMLString (const std::string &xmlString) noexcept(false) |
|
const CommandId & | getId () const |
|
U8 | getVersion () const |
|
bool | isRequest () const |
|
bool | isAnswer () const |
|
const U32 & | getApplicationId () const |
|
const U32 & | getHopByHop () const |
|
const U32 & | getEndToEnd () const |
|
const anna::diameter::stack::Command * | getStackCommand () const noexcept(false) |
|
bool | requestBit () const |
|
bool | proxiableBit () const |
|
bool | errorBit () const |
|
bool | potentiallyReTransmittedMessageBit () const |
|
const Avp * | getAvp (AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false) |
|
Avp * | getAvp (AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false) |
|
const Avp * | getAvp (const char *name, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false) |
|
Avp * | getAvp (const char *name, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false) |
|
int | countAvp (AvpId id) const |
|
int | countAvp (const char *name) const noexcept(false) |
|
int | countChilds () const |
|
const anna::DataBlock & | code () noexcept(false) |
|
anna::xml::Node * | asXML (anna::xml::Node *parent) const |
|
std::string | asXMLString (bool normalize=false) const |
|
bool | isLike (const std::string &pattern) const |
|
Diameter TME message generic container Manages tme-specific formats (Unsigned16, ISDNAddress, ISDNNumber)