bes
Updated for version 3.20.6
|
33 #ifndef I_BESRequestHandlerList_h
34 #define I_BESRequestHandlerList_h 1
42 #include "BESDataHandlerInterface.h"
45 #include "BESRequestHandler.h"
73 std::map<std::string, BESRequestHandler *> _handler_list;
85 typedef std::map<std::string, BESRequestHandler *>::const_iterator Handler_citer;
86 typedef std::map<std::string, BESRequestHandler *>::iterator Handler_iter;
104 virtual void dump(std::ostream &strm)
const;
109 #endif // I_BESRequestHandlerList_h
Represents a specific data type request handler.
virtual BESRequestHandler * remove_handler(const std::string &handler_name)
remove and return the specified request handler
virtual void execute_current(BESDataHandlerInterface &dhi)
Execute a single method for the current container that will fill in the response object rather than i...
virtual void execute_all(BESDataHandlerInterface &dhi)
for all of the registered request handlers, execute the given request
The list of registered request handlers for this server; a singleton.
virtual void execute_each(BESDataHandlerInterface &dhi)
for each container in the given data handler interface, execute the given request
virtual bool add_handler(const std::string &handler_name, BESRequestHandler *handler)
add a request handler to the list of registered handlers for this server
top level BES object to house generic methods
virtual void dump(std::ostream &strm) const
dumps information about this object
virtual Handler_citer get_last_handler()
return a constant iterator pointing to the end of the list
virtual Handler_citer get_first_handler()
return an iterator pointing to the first request handler in the list
Structure storing information used by the BES to handle the request.
virtual BESRequestHandler * find_handler(const std::string &handler_name)
find and return the specified request handler
virtual std::string get_handler_names()
Returns a comma separated string of request handlers registered with the server.