33 #ifndef I_BESResponseHandler_h 34 #define I_BESResponseHandler_h 1 39 #include "BESResponseObject.h" 40 #include "BESDataHandlerInterface.h" 41 #include "BESTransmitter.h" 84 string _response_name ;
156 virtual string get_name( )
const {
return _response_name ; }
158 virtual void dump( ostream &strm )
const ;
161 #endif // I_BESResponseHandler_h virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)=0
transmit the response object built by the execute command using the specified transmitter object
virtual void execute(BESDataHandlerInterface &dhi)=0
knows how to build a requested response object
virtual BESResponseObject * set_response_object(BESResponseObject *o)
replaces the current response object with the specified one, returning the current response object
Base object for bes objects.
handler object that knows how to create a specific response object
virtual string get_name() const
return the name of this response object
virtual BESResponseObject * get_response_object()
return the current response object
Structure storing information used by the BES to handle the request.
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.