33 #include "BESServicesResponseHandler.h" 34 #include "BESServiceRegistry.h" 35 #include "BESInfoList.h" 37 #include "BESResponseNames.h" 39 BESServicesResponseHandler::BESServicesResponseHandler(
const string &name )
44 BESServicesResponseHandler::~BESServicesResponseHandler( )
63 BESInfo *info = BESInfoList::TheList()->build_info() ;
66 dhi.action_name = SERVICE_RESPONSE_STR ;
69 info->end_response() ;
106 strm << BESIndent::LMarg <<
"BESServicesResponseHandler::dump - (" 107 << (
void *)
this <<
")" << endl ;
108 BESIndent::Indent() ;
110 BESIndent::UnIndent() ;
114 BESServicesResponseHandler::ResponseBuilder(
const string &name )
virtual void dump(ostream &strm) const
dumps information about this object
exception thrown if inernal error encountered
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)=0
transmit the informational object
virtual void show_services(BESInfo &info)
fills in the response object for the <showService /> request
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
virtual void execute(BESDataHandlerInterface &dhi)
executes the command 'show services;' by returning the list of all registered services for this BES...
Structure storing information used by the BES to handle the request.
virtual void begin_response(const string &response_name, BESDataHandlerInterface &dhi)
begin the informational response
response handler that returns the list of servies provided by this BES
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)
transmit the response object built by the execute command using the specified transmitter object ...