X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fdiameter.comm%2FServer.hpp;h=514ce39356236bc2d512f75c6d89a5a04760636f;hp=711fdcdb41c28f7f58ff62bdb18ff98b4e59e651;hb=HEAD;hpb=7681cb4079366eb6908dd5d0dc0124c3fcef4b6b diff --git a/include/anna/diameter.comm/Server.hpp b/include/anna/diameter.comm/Server.hpp index 711fdcd..514ce39 100644 --- a/include/anna/diameter.comm/Server.hpp +++ b/include/anna/diameter.comm/Server.hpp @@ -45,6 +45,7 @@ class Entity; class ClientSession; class Response; class Message; +class OriginHost; /** @@ -297,7 +298,7 @@ protected: \param response Answer container object for corresponding diameter request */ - virtual void eventResponse(const Response & response) noexcept(false); + virtual void eventResponse(const Response & response, const anna::diameter::comm::OriginHost *myNode) noexcept(false); /** Handler for diameter server (client-session) requests @@ -305,8 +306,7 @@ protected: \param clientSession ClientSession from which request has been received \param request Diameter request message received */ - virtual void eventRequest(ClientSession *clientSession, const anna::DataBlock &request) noexcept(false); - //virtual void eventRequest(ClientSession *clientSession, const Message & request) noexcept(false); + virtual void eventRequest(ClientSession *clientSession, const anna::DataBlock &request, const anna::diameter::comm::OriginHost *myNode) noexcept(false); /** Handler for diameter server (client-session) responses out of context @@ -314,7 +314,7 @@ protected: \param clientSession ClientSession from which request has been received \param response Answer data block object without context match */ - virtual void eventUnknownResponse(ClientSession *clientSession, const anna::DataBlock& response) noexcept(false); + virtual void eventUnknownResponse(ClientSession *clientSession, const anna::DataBlock& response, const anna::diameter::comm::OriginHost *myNode) noexcept(false); /** Handler for diameter server (client-session) Disconnect-Peer-Answer messages @@ -322,7 +322,7 @@ protected: \param clientSession ClientSession from which request has been received \param response Answer data block object without context match */ - virtual void eventDPA(ClientSession *clientSession, const anna::DataBlock& response) noexcept(false); + virtual void eventDPA(ClientSession *clientSession, const anna::DataBlock& response, const anna::diameter::comm::OriginHost *myNode) noexcept(false);