33 #include "BESResponseHandler.h" 34 #include "BESResponseObject.h" 35 #include "BESRequestHandler.h" 37 BESResponseHandler::BESResponseHandler(
const string &name )
38 : _response_name( name ),
43 BESResponseHandler::~BESResponseHandler( )
62 _response = new_response ;
76 strm << BESIndent::LMarg <<
"BESResponseHandler::dump - (" 77 << (
void *)
this <<
")" << endl ;
79 strm << BESIndent::LMarg <<
"response name: " << _response_name << endl ;
82 strm << BESIndent::LMarg <<
"response object:" << endl ;
84 _response->
dump( strm ) ;
85 BESIndent::UnIndent() ;
89 strm << BESIndent::LMarg <<
"response object: not set" << endl ;
91 BESIndent::UnIndent() ;
virtual void dump(ostream &strm) const =0
dump the contents of this object to the specified ostream
virtual BESResponseObject * set_response_object(BESResponseObject *o)
replaces the current response object with the specified one, returning the current response object
virtual BESResponseObject * get_response_object()
return the current response object
virtual void dump(ostream &strm) const
dumps information about this object
Abstract base class representing a specific set of information in response to a request to the BES.