33 #include "BESShowDefsResponseHandler.h" 34 #include "BESInfoList.h" 36 #include "BESDefinitionStorageList.h" 37 #include "BESResponseNames.h" 39 BESShowDefsResponseHandler::BESShowDefsResponseHandler(
const string &name )
44 BESShowDefsResponseHandler::~BESShowDefsResponseHandler( )
63 BESInfo *info = BESInfoList::TheList()->build_info() ;
65 dhi.action_name = SHOWDEFS_RESPONSE_STR ;
68 info->end_response() ;
89 BESInfo *info = dynamic_cast<BESInfo *>(_response) ;
105 strm << BESIndent::LMarg <<
"BESShowDefsResponseHandler::dump - (" 106 << (
void *)
this <<
")" << endl ;
107 BESIndent::Indent() ;
109 BESIndent::UnIndent() ;
113 BESShowDefsResponseHandler::ShowDefsResponseBuilder(
const string &name )
exception thrown if inernal error encountered
virtual void dump(ostream &strm) const
dumps information about this object
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)=0
transmit the informational object
handler object that knows how to create a specific response object
informational response object
virtual void show_definitions(BESInfo &info)
show information for each definition in each persistence store
virtual void execute(BESDataHandlerInterface &dhi)
executes the command 'show definitions;' by returning the list of currently defined definitions
response handler that returns list of definitions currently defined
Structure storing information used by the BES to handle the request.
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)
transmit the response object built by the execute command using the specified transmitter object
virtual void dump(ostream &strm) const
dumps information about this object
virtual void begin_response(const string &response_name, BESDataHandlerInterface &dhi)
begin the informational response