32 #include <BESResponseHandler.h> 33 #include <BESResponseNames.h> 34 #include <BESVersionInfo.h> 35 #include <BESDataNames.h> 37 #include "BESXDRequestHandler.h" 39 BESXDRequestHandler::BESXDRequestHandler(
const string &name) :
42 add_method(HELP_RESPONSE, BESXDRequestHandler::dap_build_help);
43 add_method(VERS_RESPONSE, BESXDRequestHandler::dap_build_version);
46 BESXDRequestHandler::~BESXDRequestHandler()
53 BESInfo *info = dynamic_cast<BESInfo *>(response);
57 map < string, string > attrs;
58 attrs[
"name"] = MODULE_NAME ;
59 attrs[
"version"] = MODULE_VERSION ;
61 attrs[
"name"] = PACKAGE_NAME;
62 attrs[
"version"] = PACKAGE_VERSION;
64 info->begin_tag(
"module", &attrs);
65 info->end_tag(
"module");
78 info->add_module(PACKAGE_NAME, PACKAGE_VERSION);
80 info->add_module(MODULE_NAME, MODULE_VERSION);
93 strm << BESIndent::LMarg <<
"BESXDRequestHandler::dump - (" << (
void *)
this <<
")" << endl;
96 BESIndent::UnIndent();
exception thrown if inernal error encountered
informational response object
virtual BESResponseObject * get_response_object()
return the current response object
virtual void dump(ostream &strm) const
dumps information about this object
Represents a specific data type request handler.
virtual void dump(ostream &strm) const
dumps information about this object
Structure storing information used by the BES to handle the request.
Abstract base class representing a specific set of information in response to a request to the BES.