1 // ANNA - Anna is Not Nothingness Anymore //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
9 #ifndef timex_ArithmeticHTTPServer_Reactor_hpp
10 #define timex_ArithmeticHTTPServer_Reactor_hpp
12 #include <anna/comm/Receiver.hpp>
14 #include <anna/http/Response.hpp>
16 #include "Request.hpp"
17 #include "Response.hpp"
25 class Reactor : public comm::Receiver {
27 Reactor () : comm::Receiver ("http4comm::Reactor") {;}
28 virtual ~Reactor() {;}
30 static const char* className () throw () { return "http4comm::Reactor"; }
35 http::Response a_httpResponse;
37 void apply (comm::ClientSocket&, const comm::Message&) throw (RuntimeException);