33 #ifndef BESInterface_h_
34 #define BESInterface_h_ 1
126 typedef list< p_bes_init >::const_iterator init_citer ;
127 typedef list< p_bes_init >::iterator init_iter ;
128 static list< p_bes_init > _init_list ;
130 typedef list< p_bes_end >::const_iterator end_citer ;
131 typedef list< p_bes_end >::iterator end_iter ;
132 static list< p_bes_end > _end_list ;
156 virtual int finish(
int status ) ;
161 virtual void clean() ;
169 virtual void dump( ostream &strm )
const ;
175 #endif // BESInterface_h_
void(* p_bes_end)(BESDataHandlerInterface &dhi)
virtual void initialize()
Initialize the BES object.
static void add_end_callback(p_bes_end end)
virtual int exception_manager(BESError &e)
Manage any exceptions thrown during the whole process.
static void add_init_callback(p_bes_init init)
virtual void transmit_data()
Transmit the resulting response object.
BESTransmitter * _transmitter
bool(* p_bes_init)(BESDataHandlerInterface &dhi)
Base object for bes objects.
virtual int finish_with_error(int status)
Abstract exception class for the BES with basic string message.
virtual void report_request()
Report the request and status of the request to BESReporterList::TheList()
Entry point into BES, building responses to given requests.
virtual void validate_data_request()
Validate the incoming request information.
virtual void build_data_request_plan()=0
Build the data request plan.
virtual void clean()
Clean up after the request.
virtual void invoke_aggregation()
Aggregate the resulting response object.
Structure storing information used by the BES to handle the request.
virtual void end_request()
End the BES request.
virtual void dump(ostream &strm) const
dumps information about this object
virtual void log_status()
Log the status of the request.
BESInterface(ostream *strm)
virtual void execute_data_request_plan()
Execute the data request plan.
virtual int execute_request(const string &from)
Executes the given request to generate a specified response object.
virtual int finish(int status)
BESDataHandlerInterface * _dhi