33 #ifndef BESDataHandlerInterface_h_
34 #define BESDataHandlerInterface_h_ 1
62 ostream *output_stream;
92 string err =
"output stream has already been set";
101 throw BESInternalError(
"output stream has not yet been set, cannot use", __FILE__, __LINE__);
102 return *output_stream;
151 const map<string, string> &
data_c()
const
162 void dump(ostream &strm)
const;
166 #endif // BESDataHandlerInterface_h_
void clean()
clean up any information created within this data handler interface
void dump(ostream &strm) const
dumps information about this object
exception thrown if inernal error encountered
void set_output_stream(ostream *strm)
BESDataHandlerInterface()
map< string, string >::const_iterator data_citer
void next_container()
set the container pointer to the next * container in the list, null if at the end or no containers in...
list< BESContainer * > containers
ostream & get_output_stream()
void make_copy(const BESDataHandlerInterface ©_from)
deprecated
Base object for bes objects.
handler object that knows how to create a specific response object
informational response object
BESResponseHandler * response_handler
BESDataHandlerInterface & operator=(const BESDataHandlerInterface &rhs)
BESResponseObject * get_response_object()
returns the response object using the response handler
string transmit_protocol
request protocol, such as HTTP
list< BESContainer * >::iterator containers_iterator
Structure storing information used by the BES to handle the request.
map< string, string > data
the map of string data that will be required for the current request.
void first_container()
set the container pointer to the first container in the containers list
BESInfo * error_info
error information object
A container is something that holds data.
const map< string, string > & data_c() const
Abstract base class representing a specific set of information in response to a request to the BES...
string action
the response object requested, e.g.
BESContainer * container
pointer to current container in this interface