X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=source%2Fdiameter.comm%2FMessage.cpp;h=88cbe91f9707754857570a247dbc5b7ab74e88cf;hb=b105cc8fc16f1d9bf26969a209e3bf1d506a2ef3;hp=0eef96caeef8ae80c1f40093d8dc8fda12effda7;hpb=9cf0513932fb41804095983e065e48aee078dfc7;p=anna.git diff --git a/source/diameter.comm/Message.cpp b/source/diameter.comm/Message.cpp index 0eef96c..88cbe91 100644 --- a/source/diameter.comm/Message.cpp +++ b/source/diameter.comm/Message.cpp @@ -143,6 +143,11 @@ anna::diameter::CommandId Message::getCommandId(bool &isRequest) const throw() { return result; } +anna::diameter::ApplicationId Message::getApplicationId() const throw() { + diameter::ApplicationId result = diameter::codec::functions::getApplicationId(getBody()); + return result; +} + HopByHop Message::getHopByHop() const throw() { return (diameter::codec::functions::getHopByHop(getBody())); }