74 map<string,string> props ;
77 for( ; ki != ke; ki++ )
80 props[
"name"] = (*ki).first ;
82 vector<string>::const_iterator v = (*ki).second.begin() ;
83 vector<string>::const_iterator ve = (*ki).second.end() ;
86 info->
add_tag(
"value", (*v) ) ;
114 info->
transmit( transmitter, dhi ) ;
128 << (
void *)
this <<
")" << endl ;
virtual BESInfo * build_info()
virtual void end_response()
static BESResponseHandler * ConfigResponseBuilder(const string &handler_name)
exception thrown if inernal error encountered
static BESInfoList * TheList()
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)=0
transmit the informational object
virtual void add_tag(const string &tag_name, const string &tag_data, map< string, string > *attrs=0)=0
BESResponseObject * _response
handler object that knows how to create a specific response object
virtual void dump(ostream &strm) const
dumps information about this object
informational response object
virtual void begin_tag(const string &tag_name, map< string, string > *attrs=0)
static ostream & LMarg(ostream &strm)
BESConfigResponseHandler(const string &name)
#define CONFIG_RESPONSE_STR
virtual void dump(ostream &strm) const
dumps information about this object
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)
transmit the response object built by the execute command using the specified transmitter object ...
Structure storing information used by the BES to handle the request.
virtual void execute(BESDataHandlerInterface &dhi)
executes the command 'show keys;' by returning the list of all key/value pairs defined in the BES ini...
virtual void begin_response(const string &response_name, BESDataHandlerInterface &dhi)
begin the informational response
static BESKeys * TheKeys()
virtual ~BESConfigResponseHandler(void)
virtual void end_tag(const string &tag_name)
map< string, vector< string > >::const_iterator Keys_citer