56 _handler_list[handler_name] = handler_method ;
73 i = _handler_list.find( handler_name ) ;
74 if( i != _handler_list.end() )
76 _handler_list.erase( i ) ;
96 i = _handler_list.find( handler_name ) ;
97 if( i != _handler_list.end() )
115 bool first_name = true ;
117 for( ; i != _handler_list.end(); i++ )
138 << (
void *)
this <<
")" << endl ;
141 if( _handler_list.size() )
147 for( ; i != ie; i++ )
virtual string get_handler_names()
return a comma separated list of response object types handled by this request handler ...
map< string, p_request_handler >::const_iterator Handler_citer
bool(* p_request_handler)(BESDataHandlerInterface &)
static ostream & LMarg(ostream &strm)
virtual void dump(ostream &strm) const
dumps information about this object
virtual bool add_handler(const string &handler_name, p_request_handler handler_method)
add a handler method to the request handler that knows how to fill in a specific response object ...
map< string, p_request_handler >::iterator Handler_iter
virtual bool remove_handler(const string &handler_name)
remove the specified handler method from this request handler
virtual p_request_handler find_handler(const string &handler_name)
find the method that can handle the specified response object type