Gives application control over event DPA received for both client and entity
[anna.git] / source / diameter.comm / Server.cpp
index 43a3b28..c34fd73 100644 (file)
@@ -362,6 +362,12 @@ void Server::eventUnknownResponse(ClientSession *clientSession, const anna::Data
   a_parent->eventUnknownResponse(clientSession, response);
 }
 
+void Server::eventDPA(ClientSession *clientSession, const anna::DataBlock & response) throw(anna::RuntimeException) {
+  // Inform father server:
+  a_parent->eventDPA(clientSession, response);
+}
+
+
 void Server::availabilityLost() throw() {
   a_available = false;
   std::string socket = anna::functions::socketLiteralAsString(a_socket.first, a_socket.second);