X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2FMyLocalServer.hpp;h=17caf35875eb506df5d21c65939859bdb3e34a4c;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hp=7f667038a674309bbf80c1a0d13d399a348656aa;hpb=d723d5bf571eb48c641b092058eaa38bb6c4fcc8;p=anna.git diff --git a/example/diameter/launcher/MyLocalServer.hpp b/example/diameter/launcher/MyLocalServer.hpp index 7f66703..17caf35 100644 --- a/example/diameter/launcher/MyLocalServer.hpp +++ b/example/diameter/launcher/MyLocalServer.hpp @@ -24,15 +24,16 @@ namespace anna { class MyLocalServer : public anna::diameter::comm::LocalServer { - void eventResponse(const anna::diameter::comm::Response&) throw(anna::RuntimeException); - void eventRequest(anna::diameter::comm::ServerSession *, const anna::DataBlock&) throw(anna::RuntimeException); - void eventUnknownResponse(anna::diameter::comm::ServerSession *, const anna::DataBlock&) throw(anna::RuntimeException); - void eventDPA(anna::diameter::comm::ServerSession *, const anna::DataBlock&) throw(anna::RuntimeException); + void eventResponse(const anna::diameter::comm::Response&) noexcept(false); + void eventRequest(anna::diameter::comm::ServerSession *, const anna::DataBlock&) noexcept(false); + void eventUnknownResponse(anna::diameter::comm::ServerSession *, const anna::DataBlock&) noexcept(false); + void eventDPA(anna::diameter::comm::ServerSession *, const anna::DataBlock&) noexcept(false); public: + virtual ~MyLocalServer() {;} anna::diameter::codec::MessagesDeque a_reactingAnswers; - anna::diameter::codec::MessagesDeque *getReactingAnswers() throw() { return (anna::diameter::codec::MessagesDeque*)&a_reactingAnswers; } + anna::diameter::codec::MessagesDeque *getReactingAnswers() { return (anna::diameter::codec::MessagesDeque*)&a_reactingAnswers; } }; #endif