bes
Updated for version 3.20.6
|
33 #include "BESShowContainersResponseHandler.h"
34 #include "BESInfoList.h"
36 #include "BESContainerStorageList.h"
37 #include "BESResponseNames.h"
43 BESShowContainersResponseHandler::BESShowContainersResponseHandler(
const string &name )
48 BESShowContainersResponseHandler::~BESShowContainersResponseHandler( )
69 BESInfo *info = BESInfoList::TheList()->build_info() ;
70 d_response_object = info ;
71 dhi.action_name = SHOWCONTAINERS_RESPONSE_STR ;
74 info->end_response() ;
92 if( d_response_object )
110 strm << BESIndent::LMarg <<
"BESShowContainersResponseHandler::dump - ("
111 << (
void *)
this <<
")" << endl ;
112 BESIndent::Indent() ;
114 BESIndent::UnIndent() ;
118 BESShowContainersResponseHandler::ShowContainersResponseBuilder(
const string &name )
virtual void show_containers(BESInfo &info)
show information for each container in each persistence store
virtual void dump(std::ostream &strm) const
dumps information about this object
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)=0
transmit the informational object
informational response object
exception thrown if internal error encountered
handler object that knows how to create a specific response object
virtual void execute(BESDataHandlerInterface &dhi)
executes the command 'show containers;' by returning the list of currently defined containers in all ...
response handler that returns list of continers currently defined in all container storage lists.
virtual void begin_response(const std::string &response_name, BESDataHandlerInterface &dhi)
begin the informational response
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)
transmit the response object built by the execute command using the specified transmitter object
Structure storing information used by the BES to handle the request.
virtual void dump(std::ostream &strm) const
dumps information about this object
- dispatch
- BESShowContainersResponseHandler.cc