bes
Updated for version 3.20.6
|
33 #ifndef I_BESRequestHandler_h
34 #define I_BESRequestHandler_h 1
40 #include "BESDataHandlerInterface.h"
76 std::map<std::string, p_request_handler_method> _handler_list;
89 typedef std::map<std::string, p_request_handler_method>::const_iterator Handler_citer;
90 typedef std::map<std::string, p_request_handler_method>::iterator Handler_iter;
92 virtual const std::string & get_name()
const
97 virtual bool add_method(
const std::string &name, p_request_handler_method method);
101 virtual bool add_handler(
const std::string &name, p_request_handler_method method)
107 virtual p_request_handler_method
find_method(
const std::string &name);
110 virtual time_t
get_lmt(
const std::string &name);
114 virtual void dump(std::ostream &strm)
const;
117 #endif // I_BESRequestHandler_h
Represents a specific data type request handler.
virtual p_request_handler_method find_method(const std::string &name)
find the method that can handle the specified response object type
virtual std::string get_method_names()
return a comma separated list of response object types handled by this request handler
virtual bool remove_method(const std::string &name)
remove the specified handler method from this request handler
virtual bool add_method(const std::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
virtual bool add_handler(const std::string &name, p_request_handler_method method)
Backward compatibility with the older version of this class.
top level BES object to house generic methods
virtual void dump(std::ostream &strm) const
dumps information about this object
Structure storing information used by the BES to handle the request.
virtual time_t get_lmt(const std::string &name)
Get the Last modified time for.