|
virtual void | set_response () |
| The request has been parsed, use the command action name to set the response handler.
|
|
Definition at line 40 of file ShowBesKeyCommand.h.
◆ ShowBesKeyCommand()
◆ ~ShowBesKeyCommand()
virtual ShowBesKeyCommand::~ShowBesKeyCommand |
( |
| ) |
|
|
inlinevirtual |
◆ add_command()
void BESXMLCommand::add_command |
( |
const std::string & | cmd_str, |
|
|
p_xmlcmd_builder | cmd ) |
|
staticinherited |
Add a command to the possible commands allowed by this BES.
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 88 of file BESXMLCommand.cc.
◆ CommandBuilder()
◆ del_command()
void BESXMLCommand::del_command |
( |
const std::string & | cmd_str | ) |
|
|
staticinherited |
Deletes the command called cmd_str from the list of possible commands.
- Parameters
-
cmd_str | The name of the command to remove from the list |
Definition at line 98 of file BESXMLCommand.cc.
◆ dump()
void ShowBesKeyCommand::dump |
( |
std::ostream & | strm | ) |
const |
|
virtual |
dumps information about this object
Displays the pointer value of this instance
- Parameters
-
strm | C++ i/o stream to dump the information to |
Reimplemented from BESXMLCommand.
Definition at line 99 of file ShowBesKeyCommand.cc.
◆ find_command()
p_xmlcmd_builder BESXMLCommand::find_command |
( |
const std::string & | cmd_str | ) |
|
|
staticinherited |
Find the BESXMLCommand creation function with the given name.
- Parameters
-
cmd_str | The name of the command creation function to find |
Definition at line 110 of file BESXMLCommand.cc.
◆ get_xmlcmd_dhi()
◆ has_response()
virtual bool ShowBesKeyCommand::has_response |
( |
| ) |
|
|
inlinevirtual |
Does this command return a response to the client?
Every command has an associated ResponseHandler, but not all ResponseHandlers return information to the BES's client. In fact, for any group of commands sent to the BES, only one can return information (except for errors, which stop command processing). If this command does not normally return a response (text or binary data), the value of this method should be false.
- Returns
- true if it returns a response, false otherwise
Implements BESXMLCommand.
Definition at line 49 of file ShowBesKeyCommand.h.
◆ parse_request()
void ShowBesKeyCommand::parse_request |
( |
xmlNode * | node | ) |
|
|
virtual |
parse a show command. No properties or children elements
<showBesKey key="key_name" />
- Parameters
-
node | xml2 element node pointer |
Implements BESXMLCommand.
Definition at line 56 of file ShowBesKeyCommand.cc.
◆ prep_request()
virtual void BESXMLCommand::prep_request |
( |
| ) |
|
|
inlinevirtualinherited |
◆ set_response()
void BESXMLCommand::set_response |
( |
| ) |
|
|
protectedvirtualinherited |
The request has been parsed, use the command action name to set the response handler.
Definition at line 65 of file BESXMLCommand.cc.
◆ d_cmd_log_info
std::string BESXMLCommand::d_cmd_log_info |
|
protectedinherited |
◆ d_xmlcmd_dhi
The documentation for this class was generated from the following files: