bes
Updated for version 3.20.6
|
35 #include "BESResponseHandlerList.h"
36 #include "BESXMLDapCommandModule.h"
37 #include "BESDapNames.h"
40 #include "BESXMLCatalogCommand.h"
42 #include "SiteMapCommand.h"
43 #include "SiteMapResponseHandler.h"
44 #include "ShowNodeCommand.h"
63 BESDEBUG(
"dap",
"Initializing DAP Commands:" << endl);
71 BESResponseHandlerList::TheList()->
add_handler(SITE_MAP_RESPONSE, SiteMapResponseHandler::SiteMapResponseBuilder);
73 BESDEBUG(
"dap",
"Done Initializing DAP Commands:" << endl);
86 BESDEBUG(
"dap",
"Removing DAP Commands" << endl);
91 BESResponseHandlerList::TheList()->
remove_handler(SITE_MAP_RESPONSE);
93 BESDEBUG(
"dap",
"Done Removing DAP Commands" << endl);
104 strm << BESIndent::LMarg <<
"BESXMLDapCommandModule::dump - (" << (
void *)
this <<
")" << endl;
virtual void terminate(const std::string &modname)
Cleans up the DAP XML commands from the list of possible commands.
static BESXMLCommand * CommandBuilder(const BESDataHandlerInterface &base_dhi)
Factory for the SiteMapCommand.
static BESXMLCommand * CommandBuilder(const BESDataHandlerInterface &base_dhi)
A command builder suitable for BESXMLCommand::add_command()
static void add_command(const std::string &cmd_str, p_xmlcmd_builder cmd)
Add a command to the possible commands allowed by this BES.
virtual bool remove_handler(const std::string &handler)
removes a response handler from the list
virtual void initialize(const std::string &modname)
Adds the basic DAP XML command objects to the XMLCommand list of possible commands.
static void del_command(const std::string &cmd_str)
Deletes the command called cmd_str from the list of possible commands.
virtual bool add_handler(const std::string &handler, p_response_handler handler_method)
add a response handler to the list
virtual void dump(std::ostream &strm) const
dumps information about this object