19 #ifndef _SERVER_REQUEST_HANDLER_HPP
20 #define _SERVER_REQUEST_HANDLER_HPP
25 #include <boost/noncopyable.hpp>
36 RequestHandler(
const std::string &_id,
const std::string &_description) : id(_id), description(_description)
51 std::string description;
virtual void run(const BoostPtree &request, BoostPtree &response)=0
virtual ~RequestHandler()
Definition: request_handler.hpp:41
boost::property_tree::ptree BoostPtree
Definition: boost_ptree.hpp:31
std::string getDescription()
Definition: request_handler.hpp:46
boost::shared_ptr< RequestHandler > RequestHandlerPtr
Definition: request_handler.hpp:54
RequestHandler(const std::string &_id, const std::string &_description)
Definition: request_handler.hpp:36
Definition: logstream.hpp:145
std::string commandId()
Definition: request_handler.hpp:45
Definition: request_handler.hpp:33