35 #include "BESResponseHandler.h"
36 #include "BESResponseObject.h"
37 #include "BESDataHandlerInterface.h"
38 #include "BESTransmitter.h"
40 #include "TheBESKeys.h"
54 const string annotation_service_url =
"BES.AnnotationServiceURL";
62 const string include_dataset_in_annotation_url =
"BES.IncludeDatasetInAnnotationURL";
65 BESResponseHandler::BESResponseHandler(
const string &name) :
66 d_response_name(name), d_response_object(0)
75 BESResponseHandler::~BESResponseHandler()
77 delete d_response_object;
84 return d_response_object;
91 d_response_object = new_response;
104 strm << BESIndent::LMarg <<
"BESResponseHandler::dump - (" << (
void *)
this <<
")" << endl;
106 strm << BESIndent::LMarg <<
"response name: " << d_response_name << endl;
107 if (d_response_object) {
108 strm << BESIndent::LMarg <<
"response object:" << endl;
110 d_response_object->
dump(strm);
111 BESIndent::UnIndent();
114 strm << BESIndent::LMarg <<
"response object: not set" << endl;
116 BESIndent::UnIndent();