X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=include%2Fanna%2Fdiameter.comm%2FServerSessionReceiver.hpp;h=03397b363567c996969820c0b238548c0bea325d;hb=f34b8069233e9e09208339bb79d8576c1ff962e1;hp=73c4213f58453f1fde6112b887539843189f9c63;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git diff --git a/include/anna/diameter.comm/ServerSessionReceiver.hpp b/include/anna/diameter.comm/ServerSessionReceiver.hpp index 73c4213..03397b3 100644 --- a/include/anna/diameter.comm/ServerSessionReceiver.hpp +++ b/include/anna/diameter.comm/ServerSessionReceiver.hpp @@ -34,17 +34,19 @@ class ServerSession; class ServerSessionReceiver : public anna::comm::Receiver { public: - static const char* className() throw() { return "diameter.comm.ServerSessionReceiver"; } - void setReference(ServerSession *s) throw() { a_session = s; } + virtual ~ServerSessionReceiver() {;} + + static const char* className() { return "diameter.comm.ServerSessionReceiver"; } + void setReference(ServerSession *s) { a_session = s; } // base class virtuals - void eventBreakLocalConnection(const anna::comm::ClientSocket&cli) throw(); - //void eventCreateConnection(const anna::comm::Server*srv) throw(); + void eventBreakLocalConnection(const anna::comm::ClientSocket&cli) ; + //void eventCreateConnection(const anna::comm::Server*srv) ; private: ServerSessionReceiver() : anna::comm::Receiver("diameter.comm.ServerSessionReceiver") { a_session = NULL; } - void initialize() throw(anna::RuntimeException) {;} - void apply(anna::comm::ClientSocket&, const anna::comm::Message&) throw(anna::RuntimeException); + void initialize() noexcept(false) {;} + void apply(anna::comm::ClientSocket&, const anna::comm::Message&) noexcept(false); anna::diameter::comm::ServerSession *a_session;