33 #ifndef BESInterface_h_ 34 #define BESInterface_h_ 1 120 std::ostream *d_strm;
121 int d_timeout_from_keys;
128 virtual int exception_manager(
BESError &e);
133 virtual void build_data_request_plan() = 0;
135 virtual void execute_data_request_plan() = 0;
137 virtual void transmit_data() = 0;
139 virtual void log_status() = 0;
141 virtual void clean() = 0;
154 virtual int finish(
int status);
156 virtual void dump(std::ostream &strm)
const;
159 #endif // BESInterface_h_
virtual void dump(std::ostream &strm) const
Manage any exceptions thrown during the whole process.
BESDataHandlerInterface * d_dhi_ptr
Allocated by the child class.
BESTransmitter * d_transmitter
The Transmitter to use for the result.
Base object for bes objects.
Abstract exception class for the BES with basic string message.
Entry point into BES, building responses to given requests.
Structure storing information used by the BES to handle the request.
virtual void end_request()
End the BES request.
static int handleException(BESError &e, BESDataHandlerInterface &dhi)
Make a BESXMLInfo object to hold the error information.
virtual int finish(int status)
virtual int execute_request(const std::string &from)
The entry point for command execution; called by BESServerHandler::execute()