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_Acceptor_hpp
10 #define timex_ArithmeticHTTPServer_Acceptor_hpp
12 #include <anna/http/Handler.hpp>
14 #include "Request.hpp"
15 #include "Response.hpp"
20 class IndexedDelivery;
30 class Acceptor : public http::Handler {
32 Acceptor () : http::Handler ("http4comm::Acceptor") {;}
34 static const char* className () throw () { return "http4comm::Acceptor"; }
37 Request a_testRequest;
38 Response a_testResponse;
40 void initialize () throw (RuntimeException);
41 void evRequest (comm::ClientSocket&, const http::Request& request) throw (RuntimeException);
42 void evResponse (comm::ClientSocket&, const http::Response&) throw (RuntimeException) {;}