|
static void | add_command (const string &cmd_str, p_xmlcmd_builder cmd) |
| Add a command to the possible commands allowed by this BES. More...
|
|
static bool | del_command (const string &cmd_str) |
| Deletes the command called cmd_str from the list of possible commands. More...
|
|
static p_xmlcmd_builder | find_command (const string &cmd_str) |
| Find the BESXMLCommand creation function with the given name. More...
|
|
Definition at line 51 of file BESXMLCommand.h.
Since there can be multiple commands within a single BES request document, there can be multiple data handler interface objects created. Use the one passed as the base interface handler object
Definition at line 48 of file BESXMLCommand.cc.
References BESDataHandlerInterface::make_copy().
void BESXMLCommand::add_command |
( |
const string & |
cmd_str, |
|
|
p_xmlcmd_builder |
cmd |
|
) |
| |
|
static |
This adds a function to parse a specific BES command within the BES request document using the given name. If a command element is found with the name cmd_str, then the XMLCommand object is created using the passed cmd object.
- Parameters
-
cmd_str | The name of the command |
cmd | The function to call to create the BESXMLCommand object |
Definition at line 84 of file BESXMLCommand.cc.
bool BESXMLCommand::del_command |
( |
const string & |
cmd_str | ) |
|
|
static |
- Parameters
-
cmd_str | The name of the command to remove from the list |
Definition at line 94 of file BESXMLCommand.cc.
void BESXMLCommand::dump |
( |
ostream & |
strm | ) |
const |
|
virtual |
Displays the pointer value of this instance
- Parameters
-
strm | C++ i/o stream to dump the information to |
Implements BESObj.
Reimplemented in BESXMLDefineCommand, BESXMLGetCommand, BESXMLCatalogCommand, BESXMLDeleteContainerCommand, BESXMLDeleteContainersCommand, BESXMLDeleteDefinitionCommand, BESXMLDeleteDefinitionsCommand, BESXMLGetDataDDXCommand, BESXMLSetContainerCommand, BESXMLSetContextCommand, BESXMLShowCommand, BESXMLShowErrorCommand, and SampleSayXMLCommand.
Definition at line 120 of file BESXMLCommand.cc.
p_xmlcmd_builder BESXMLCommand::find_command |
( |
const string & |
cmd_str | ) |
|
|
static |
- Parameters
-
cmd_str | The name of the command creation function to find |
Definition at line 109 of file BESXMLCommand.cc.
virtual bool BESXMLCommand::has_response |
( |
| ) |
|
|
pure virtual |
- Returns
- true if a response handler has been set, false otherwise
Implemented in BESXMLDefineCommand, BESXMLGetCommand, BESXMLCatalogCommand, BESXMLDeleteContainerCommand, BESXMLDeleteContainersCommand, BESXMLDeleteDefinitionCommand, BESXMLDeleteDefinitionsCommand, BESXMLSetContainerCommand, BESXMLSetContextCommand, BESXMLShowCommand, BESXMLShowErrorCommand, and SampleSayXMLCommand.
virtual void BESXMLCommand::parse_request |
( |
xmlNode * |
node | ) |
|
|
pure virtual |
- Parameters
-
node | Begin parsing at this XML node |
Implemented in BESXMLDefineCommand, BESXMLGetCommand, BESXMLGetDataDDXCommand, BESXMLCatalogCommand, BESXMLDeleteContainerCommand, BESXMLDeleteContainersCommand, BESXMLDeleteDefinitionCommand, BESXMLDeleteDefinitionsCommand, BESXMLSetContainerCommand, BESXMLSetContextCommand, BESXMLShowCommand, BESXMLShowErrorCommand, and SampleSayXMLCommand.
The documentation for this class was generated from the following files: