33 #ifndef BESInterface_h_ 34 #define BESInterface_h_ 1 40 #include "BESDataHandlerInterface.h" 125 typedef list<p_bes_init>::const_iterator init_citer;
126 typedef list<p_bes_init>::iterator init_iter;
127 static list<p_bes_init> _init_list;
129 typedef list<p_bes_end>::const_iterator end_citer;
130 typedef list<p_bes_end>::iterator end_iter;
131 static list<p_bes_end> _end_list;
134 int _timeout_from_keys;
157 virtual int finish(
int status);
162 virtual void clean();
167 virtual int execute_request(
const string &from);
168 virtual int finish_with_error(
int status);
170 virtual void dump(ostream &strm)
const;
172 static void add_init_callback(p_bes_init init);
173 static void add_end_callback(p_bes_end end);
176 #endif // BESInterface_h_ virtual void dump(ostream &strm) const
dumps information about this object
virtual void initialize()
Initialize the BES object.
virtual int exception_manager(BESError &e)
Manage any exceptions thrown during the whole process.
virtual void transmit_data()
Transmit the resulting response object.
Base object for bes objects.
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 log_status()
Log the status of the request.
virtual void execute_data_request_plan()
Execute the data request plan.