33#ifndef I_BESRequestHandler_h 
   34#define I_BESRequestHandler_h 1 
   40#include "BESDataHandlerInterface.h" 
   74class BESRequestHandler: 
public BESObj {
 
   76    std::map<std::string, p_request_handler_method> _handler_list;
 
   80    BESRequestHandler(
const std::string &name) :
 
   85    virtual ~BESRequestHandler(
void)
 
   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);
 
  115    virtual void dump(std::ostream &strm) 
const;
 
 
Structure storing information used by the BES to handle the request.
top level BES object to house generic methods
virtual std::string get_method_names()
return a comma separated list of response object types handled by this request handler
virtual bool add_handler(const std::string &name, p_request_handler_method method)
Backward compatibility with the older version of this class.
virtual time_t get_lmt(const std::string &name)
Get the Last modified time for.
virtual p_request_handler_method find_method(const std::string &name)
find the method that can handle the specified response object type
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 remove_method(const std::string &name)
remove the specified handler method from this request handler
virtual void dump(std::ostream &strm) const
dumps information about this object