New ApplicationMessageOamModule in diameter::comm, to dynamically manage application...
[anna.git] / source / diameter.comm / Message.cpp
index 0eef96c..88cbe91 100644 (file)
@@ -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()));
 }