33#ifndef BESInterface_h_
34#define BESInterface_h_ 1
120 std::ostream *d_strm {
nullptr};
121 int d_bes_timeout {0};
129 virtual void build_data_request_plan() = 0;
131 virtual void execute_data_request_plan() = 0;
133 virtual void transmit_data() = 0;
135 virtual void log_status() = 0;
137 virtual void clean() = 0;
153 virtual int finish(
int status);
155 void dump(std::ostream &strm)
const override;
Structure storing information used by the BES to handle the request.
Base exception class for the BES with basic string message.
Entry point into BES, building responses to given requests.
static int handleException(const 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()
virtual void end_request()
End the BES request.
BESDataHandlerInterface * d_dhi_ptr
Allocated by the child class.
BESTransmitter * d_transmitter
The Transmitter to use for the result.
void clear_bes_timeout()
Clear the bes timeout.
void dump(std::ostream &strm) const override
dumps information about this object
void set_bes_timeout()
Set the int 'd_bes_timeout' Use either the value of a 'bes_timeout' context or the value set in the B...
top level BES object to house generic methods