X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fdiameter%2Fcodec%2FMessage.hpp;h=1cc89604278f7dfd07b2ce07255fd6bbe39b4bf9;hp=dd0b13ab615fe0911d56dde24ca02db986cec582;hb=57040efdece4ea1f4487608de3d1afbb9d1378c8;hpb=9be8dddda350c2a17febabfa31d5d392ff4870fb diff --git a/include/anna/diameter/codec/Message.hpp b/include/anna/diameter/codec/Message.hpp index dd0b13a..1cc8960 100644 --- a/include/anna/diameter/codec/Message.hpp +++ b/include/anna/diameter/codec/Message.hpp @@ -556,6 +556,17 @@ public: */ void loadXML(const std::string &xmlPathFile) throw(anna::RuntimeException); + /** + * Interpret a xml string in order to create a diameter message + * You could apply this multiple times over the same object. A basic cleanup is done respecting the codec engine. + * + * @see functions::messageXmlDocumentFromXmlString + * @see fromXML + * + * @param xmlString xml representation of the diameter message + */ + void loadXMLString(const std::string &xmlString) throw(anna::RuntimeException); + // getters