33 #ifndef I_BESRequestHandler_h 34 #define I_BESRequestHandler_h 1 43 #include "BESDataHandlerInterface.h" 79 map<string, p_request_handler_method> _handler_list;
92 typedef map<string, p_request_handler_method>::const_iterator Handler_citer;
93 typedef map<string, p_request_handler_method>::iterator Handler_iter;
95 virtual const string & get_name()
const 100 virtual bool add_method(
const string &name, p_request_handler_method method);
104 virtual bool add_handler(
const string &name, p_request_handler_method method)
110 virtual p_request_handler_method
find_method(
const string &name);
114 virtual void dump(ostream &strm)
const;
117 #endif // I_BESRequestHandler_h virtual string get_method_names()
return a comma separated list of response object types handled by this request handler
virtual bool add_method(const string &name, p_request_handler_method method)
add a handler method to the request handler that knows how to fill in a specific response object
Base object for bes objects.
virtual bool add_handler(const string &name, p_request_handler_method method)
Backward compatibility with the older version of this class.
virtual bool remove_method(const string &name)
remove the specified handler method from this request handler
Represents a specific data type request handler.
virtual void dump(ostream &strm) const
dumps information about this object
Structure storing information used by the BES to handle the request.
virtual p_request_handler_method find_method(const string &name)
find the method that can handle the specified response object type