X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fdiameter%2FrxSimpleTest%2FMyCommunicator.hpp;fp=example%2Fdiameter%2FrxSimpleTest%2FMyCommunicator.hpp;h=270b83a04eed44a0dd682b9010af6a9a046dd447;hp=0d2efe5b3e490600391e2bc8cc096a85dd12d22b;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/example/diameter/rxSimpleTest/MyCommunicator.hpp b/example/diameter/rxSimpleTest/MyCommunicator.hpp index 0d2efe5..270b83a 100755 --- a/example/diameter/rxSimpleTest/MyCommunicator.hpp +++ b/example/diameter/rxSimpleTest/MyCommunicator.hpp @@ -20,14 +20,14 @@ public: MyCommunicator(const anna::comm::Communicator::WorkMode::_v acceptMode = anna::comm::Communicator::WorkMode::Single) : anna::comm::Communicator(acceptMode) {;} - 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; - 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