37#include "BESResponseHandlerList.h"
38#include "BESXMLDapCommandModule.h"
39#include "BESDapNames.h"
42#include "BESXMLCatalogCommand.h"
44#include "SiteMapCommand.h"
45#include "SiteMapResponseHandler.h"
46#include "ShowNodeCommand.h"
65 BESDEBUG(
"dap",
"Initializing DAP Commands:" << endl);
73 BESResponseHandlerList::TheList()->add_handler(SITE_MAP_RESPONSE, SiteMapResponseHandler::SiteMapResponseBuilder);
75 BESDEBUG(
"dap",
"Done Initializing DAP Commands:" << endl);
88 BESDEBUG(
"dap",
"Removing DAP Commands" << endl);
93 BESResponseHandlerList::TheList()->remove_handler(SITE_MAP_RESPONSE);
95 BESDEBUG(
"dap",
"Done Removing DAP Commands" << endl);
106 strm << BESIndent::LMarg <<
"BESXMLDapCommandModule::dump - (" << (
void *)
this <<
")" << endl;
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 void terminate(const std::string &modname)
Cleans up the DAP XML commands from the list of possible commands.
virtual void initialize(const std::string &modname)
Adds the basic DAP XML command objects to the XMLCommand list of possible commands.
virtual void dump(std::ostream &strm) const
dumps information about this object
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()