33#include "BESAsciiRequestHandler.h"
34#include "BESResponseHandler.h"
35#include "BESResponseNames.h"
36#include "BESVersionInfo.h"
37#include "BESDataNames.h"
44BESAsciiRequestHandler::BESAsciiRequestHandler(
const string &name) :
47 add_method(HELP_RESPONSE, BESAsciiRequestHandler::dap_build_help);
48 add_method(VERS_RESPONSE, BESAsciiRequestHandler::dap_build_version);
51BESAsciiRequestHandler::~BESAsciiRequestHandler()
67 BESVersionInfo *info =
dynamic_cast<BESVersionInfo *
>(response);
69 throw BESInternalError(
"cast error", __FILE__, __LINE__);
71 info->add_module(MODULE_NAME, MODULE_VERSION);
84 strm << BESIndent::LMarg <<
"BESAsciiRequestHandler::dump - (" << (
void *)
this <<
")" << endl;
87 BESIndent::UnIndent();
virtual void dump(std::ostream &strm) const
dumps information about this object
Structure storing information used by the BES to handle the request.
Represents a specific data type request handler.
virtual void dump(std::ostream &strm) const
dumps information about this object
virtual BESResponseObject * get_response_object()
return the current response object