bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
|
Structure storing information used by the BES to handle the request. More...
#include <BESDataHandlerInterface.h>
Public Types | |
typedef std::map< std::string, std::string >::const_iterator | data_citer |
Public Member Functions | |
BESDataHandlerInterface (const BESDataHandlerInterface &from) | |
void | clean () |
clean up any information created within this data handler interface | |
const std::map< std::string, std::string > & | data_c () const |
void | dump (std::ostream &strm) const override |
dumps information about this object | |
void | first_container () |
set the container pointer to the first container in the containers list | |
std::ostream & | get_output_stream () |
BESResponseObject * | get_response_object () |
returns the response object using the response handler | |
void | make_copy (const BESDataHandlerInterface ©_from) |
deprecated | |
void | next_container () |
set the container pointer to the next * container in the list, null if at the end or no containers in list | |
BESDataHandlerInterface & | operator= (const BESDataHandlerInterface &rhs) |
void | set_output_stream (std::ostream *strm) |
Public Attributes | |
std::string | action |
the response object requested, e.g. das, dds | |
std::string | action_name |
BESContainer * | container |
pointer to current container in this interface | |
std::list< BESContainer * > | containers |
std::list< BESContainer * >::iterator | containers_iterator |
std::map< std::string, std::string > | data |
the map of string data that will be required for the current request. | |
BESInfo * | error_info |
error information object | |
bool | executed |
BESResponseHandler * | response_handler |
std::string | transmit_protocol |
request protocol, such as HTTP | |
Structure storing information used by the BES to handle the request.
This information is used throughout the BES framework to handle the request and to also store information for logging and reporting.
Definition at line 56 of file BESDataHandlerInterface.h.
typedef std::map<std::string,std::string>::const_iterator BESDataHandlerInterface::data_citer |
Definition at line 66 of file BESDataHandlerInterface.h.
|
inline |
Definition at line 96 of file BESDataHandlerInterface.h.
BESDataHandlerInterface::BESDataHandlerInterface | ( | const BESDataHandlerInterface & | from | ) |
Definition at line 110 of file BESDataHandlerInterface.cc.
|
inlineoverride |
Definition at line 111 of file BESDataHandlerInterface.h.
void BESDataHandlerInterface::clean | ( | ) |
clean up any information created within this data handler interface
It is the job of the BESDataHandlerInterface to clean up the response handler
Definition at line 134 of file BESDataHandlerInterface.cc.
|
inline |
Definition at line 160 of file BESDataHandlerInterface.h.
|
overridevirtual |
dumps information about this object
Displays the pointer value of this instance along with information about each of the data members held
strm | C++ i/o stream to dump the information to |
Implements BESObj.
Definition at line 167 of file BESDataHandlerInterface.cc.
|
inline |
set the container pointer to the first container in the containers list
Definition at line 140 of file BESDataHandlerInterface.h.
|
inline |
Definition at line 129 of file BESDataHandlerInterface.h.
BESResponseObject * BESDataHandlerInterface::get_response_object | ( | ) |
returns the response object using the response handler
If the response handler is set for this request then return the response object for the request using that response handler
Definition at line 150 of file BESDataHandlerInterface.cc.
void BESDataHandlerInterface::make_copy | ( | const BESDataHandlerInterface & | copy_from | ) |
deprecated
make a copy of only some data from specified object
makes a copy of only some of the data members in a BESDataHandlerInterface. The container list and response handler should not be copied. Each BESDataHandlerInterface should represent a request/response, so each one should have it's own response handler.
copy_from | object to copy information from |
Definition at line 58 of file BESDataHandlerInterface.cc.
|
inline |
set the container pointer to the next * container in the list, null if at the end or no containers in list
Definition at line 151 of file BESDataHandlerInterface.h.
BESDataHandlerInterface & BESDataHandlerInterface::operator= | ( | const BESDataHandlerInterface & | rhs | ) |
Definition at line 116 of file BESDataHandlerInterface.cc.
|
inline |
Definition at line 120 of file BESDataHandlerInterface.h.
std::string BESDataHandlerInterface::action |
the response object requested, e.g. das, dds
Definition at line 79 of file BESDataHandlerInterface.h.
std::string BESDataHandlerInterface::action_name |
Definition at line 80 of file BESDataHandlerInterface.h.
BESContainer* BESDataHandlerInterface::container |
pointer to current container in this interface
Definition at line 75 of file BESDataHandlerInterface.h.
std::list<BESContainer *> BESDataHandlerInterface::containers |
Definition at line 70 of file BESDataHandlerInterface.h.
std::list<BESContainer*>::iterator BESDataHandlerInterface::containers_iterator |
Definition at line 71 of file BESDataHandlerInterface.h.
std::map<std::string, std::string> BESDataHandlerInterface::data |
the map of string data that will be required for the current request.
Definition at line 90 of file BESDataHandlerInterface.h.
BESInfo* BESDataHandlerInterface::error_info |
error information object
Definition at line 94 of file BESDataHandlerInterface.h.
bool BESDataHandlerInterface::executed |
Definition at line 81 of file BESDataHandlerInterface.h.
BESResponseHandler* BESDataHandlerInterface::response_handler |
Definition at line 68 of file BESDataHandlerInterface.h.
std::string BESDataHandlerInterface::transmit_protocol |
request protocol, such as HTTP
Definition at line 85 of file BESDataHandlerInterface.h.