35 #include "BESResponseHandler.h"
36 #include "BESResponseObject.h"
37 #include "BESDataHandlerInterface.h"
38 #include "BESTransmitter.h"
40 #include "TheBESKeys.h"
50 const string annotation_service_url =
"BES.AnnotationServiceURL";
58 const string include_dataset_in_annotation_url =
"BES.IncludeDatasetInAnnotationURL";
61 BESResponseHandler::BESResponseHandler(
const string &name) :
62 d_response_name(name), d_response_object(0)
71 BESResponseHandler::~BESResponseHandler()
73 delete d_response_object;
80 return d_response_object;
87 d_response_object = new_response;
100 strm << BESIndent::LMarg <<
"BESResponseHandler::dump - (" << (
void *)
this <<
")" << endl;
102 strm << BESIndent::LMarg <<
"response name: " << d_response_name << endl;
103 if (d_response_object) {
104 strm << BESIndent::LMarg <<
"response object:" << endl;
106 d_response_object->
dump(strm);
107 BESIndent::UnIndent();
110 strm << BESIndent::LMarg <<
"response object: not set" << endl;
112 BESIndent::UnIndent();