X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Ftimex%2FArithmeticHTTPServer%2FReactor.hpp;h=c7927616741a494dfaf95209af6af55c247589af;hb=b0fce20be4095debc4b06b4b32fc9e6a8b1fa0fa;hp=c913091417b05af9bb24dcad35ec2a76ef6d7961;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git diff --git a/example/timex/ArithmeticHTTPServer/Reactor.hpp b/example/timex/ArithmeticHTTPServer/Reactor.hpp index c913091..c792761 100644 --- a/example/timex/ArithmeticHTTPServer/Reactor.hpp +++ b/example/timex/ArithmeticHTTPServer/Reactor.hpp @@ -25,15 +25,16 @@ using namespace anna; class Reactor : public comm::Receiver { public: Reactor () : comm::Receiver ("http4comm::Reactor") {;} + virtual ~Reactor() {;} - static const char* className () throw () { return "http4comm::Reactor"; } + static const char* className () { return "http4comm::Reactor"; } private: Request a_request; Response a_response; http::Response a_httpResponse; - void apply (comm::ClientSocket&, const comm::Message&) throw (RuntimeException); + void apply (comm::ClientSocket&, const comm::Message&) noexcept(false); }; }