61 map<string, string> props ;
65 string err =
"The specified command " + action
66 +
" is not a set container command" ;
72 string err = action +
" command: container real name missing" ;
77 name = props[
"name"] ;
80 string err = action +
" command: name property missing" ;
87 storage = props[
"space"] ;
88 if( !storage.empty() )
98 string container_type = props[
"type"] ;
105 _str_cmd = (string)
"set container in " + storage
106 +
" values " + name +
"," + value ;
107 if( !container_type.empty() )
128 << (
void *)
this <<
")" << endl ;
virtual void dump(ostream &strm) const
dumps information about this object
static void GetNodeInfo(xmlNode *node, string &name, string &value, map< string, string > &props)
get the name, value if any, and any properties for the specified node
BESDataHandlerInterface _dhi
error thrown if there is a user syntax error in the request or any other user error ...
virtual void set_response()
The request has been parsed, use the command action name to set the response handler.
#define PERSISTENCE_VOLATILE
static BESXMLCommand * CommandBuilder(const BESDataHandlerInterface &base_dhi)
virtual void parse_request(xmlNode *node)
parse a set container command.
virtual void dump(ostream &strm) const
dumps information about this object
static ostream & LMarg(ostream &strm)
Structure storing information used by the BES to handle the request.
map< string, string > data
the map of string data that will be required for the current request.
string action
the response object requested, e.g.
BESXMLSetContainerCommand(const BESDataHandlerInterface &base_dhi)