33 #include "BESShowContainersResponseHandler.h" 34 #include "BESInfoList.h" 36 #include "BESContainerStorageList.h" 37 #include "BESResponseNames.h" 39 BESShowContainersResponseHandler::BESShowContainersResponseHandler(
const string &name )
44 BESShowContainersResponseHandler::~BESShowContainersResponseHandler( )
65 BESInfo *info = BESInfoList::TheList()->build_info() ;
67 dhi.action_name = SHOWCONTAINERS_RESPONSE_STR ;
70 info->end_response() ;
106 strm << BESIndent::LMarg <<
"BESShowContainersResponseHandler::dump - (" 107 << (
void *)
this <<
")" << endl ;
108 BESIndent::Indent() ;
110 BESIndent::UnIndent() ;
114 BESShowContainersResponseHandler::ShowContainersResponseBuilder(
const string &name )
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)
transmit the response object built by the execute command using the specified transmitter object ...
response handler that returns list of continers currently defined in all container storage lists...
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 dump(ostream &strm) const
dumps information about this object
Structure storing information used by the BES to handle the request.
virtual void execute(BESDataHandlerInterface &dhi)
executes the command 'show containers;' by returning the list of currently defined containers in all ...
virtual void begin_response(const string &response_name, BESDataHandlerInterface &dhi)
begin the informational response
virtual void show_containers(BESInfo &info)
show information for each container in each persistence store