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" 61 BESDEBUG(
"dap",
"Initializing DAP Commands:" << endl);
69 BESResponseHandlerList::TheList()->
add_handler(SITE_MAP_RESPONSE, SiteMapResponseHandler::SiteMapResponseBuilder);
71 BESDEBUG(
"dap",
"Done Initializing DAP Commands:" << endl);
84 BESDEBUG(
"dap",
"Removing DAP Commands" << endl);
89 BESResponseHandlerList::TheList()->
remove_handler(SITE_MAP_RESPONSE);
91 BESDEBUG(
"dap",
"Done Removing DAP Commands" << endl);
102 strm << BESIndent::LMarg <<
"BESXMLDapCommandModule::dump - (" << (
void *)
this <<
")" << endl;
static BESXMLCommand * CommandBuilder(const BESDataHandlerInterface &base_dhi)
A command builder suitable for BESXMLCommand::add_command()
virtual void terminate(const std::string &modname)
Cleans up the DAP XML commands from the list of possible commands.
virtual void dump(std::ostream &strm) const
dumps information about this object
virtual void initialize(const std::string &modname)
Adds the basic DAP XML command objects to the XMLCommand list of possible commands.
static BESXMLCommand * CommandBuilder(const BESDataHandlerInterface &base_dhi)
Factory for the SiteMapCommand.
virtual bool add_handler(const string &handler, p_response_handler handler_method)
add a response handler to the list
static void del_command(const std::string &cmd_str)
Deletes the command called cmd_str from the list of possible commands.
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 string &handler)
removes a response handler from the list