33#ifndef I_BESResponseHandlerList_h
34#define I_BESResponseHandlerList_h 1
63 mutable std::recursive_mutex d_cache_lock_mutex;
65 static void initialize_instance();
66 static void delete_instance();
68 std::map<std::string, p_response_handler> _handler_list;
70 friend class resplistT;
76 typedef std::map<std::string, p_response_handler>::const_iterator Handler_citer;
77 typedef std::map<std::string, p_response_handler>::iterator Handler_iter;
79 virtual bool add_handler(
const std::string &handler, p_response_handler handler_method);
85 virtual void dump(std::ostream &strm)
const;
top level BES object to house generic methods
List of all registered response handlers for this server.
virtual void dump(std::ostream &strm) const
dumps information about this object
virtual std::string get_handler_names()
returns the comma separated list of all response handlers currently registered with this server.
virtual BESResponseHandler * find_handler(const std::string &handler)
returns the response handler with the given name from the list
virtual bool remove_handler(const std::string &handler)
removes a response handler from the list
virtual bool add_handler(const std::string &handler, p_response_handler handler_method)
add a response handler to the list
handler object that knows how to create a specific response object