X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2FMyCommunicator.hpp;h=f4bdaa33c0f97822f855cef17da17f2020935d96;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hp=4b2677c76ff8c7abaf78ab24a647759cd88ca2ab;hpb=4c3f0a4d7e4db76996404d80c6f939548fca656f;p=anna.git diff --git a/example/diameter/launcher/MyCommunicator.hpp b/example/diameter/launcher/MyCommunicator.hpp index 4b2677c..f4bdaa3 100644 --- a/example/diameter/launcher/MyCommunicator.hpp +++ b/example/diameter/launcher/MyCommunicator.hpp @@ -24,13 +24,15 @@ public: a_contexts("Contexts") {;} - void prepareAnswer(anna::diameter::codec::Message *answer, const anna::DataBlock &request) const throw(); - void terminate() throw(); + void prepareAnswer(anna::diameter::codec::Message *answer, const anna::DataBlock &request) const ; + void terminate() ; private: + using anna::comm::Communicator::eventBreakConnection; + anna::ThreadData a_contexts; - void eventReceiveMessage(anna::comm::ClientSocket&, const anna::comm::Message&) throw(anna::RuntimeException); - void eventBreakConnection(Server* server) throw(); + void eventReceiveMessage(anna::comm::ClientSocket&, const anna::comm::Message&) noexcept(false); + void eventBreakConnection(Server* server) ; }; #endif