#include <BESDataHandlerInterface.h>
Public Types | |
typedef map< string, string > ::const_iterator | data_citer |
Public Member Functions | |
_BESDataHandlerInterface () | |
void | set_output_stream (ostream *strm) |
ostream & | get_output_stream () |
void | first_container () |
set the container pointer to the first container in the containers list | |
void | next_container () |
set the container pointer to the next * container in the list, null if at the end or no containers in list | |
const map< string, string > & | data_c () const |
void | dump (ostream &strm) const |
Public Attributes | |
BESResponseHandler * | response_handler |
list< BESContainer * > | containers |
list< BESContainer * >::iterator | containers_iterator |
BESContainer * | container |
pointer to current container in this interface | |
string | action |
the response object requested, e.g. das, dds | |
string | action_name |
string | transmit_protocol |
request protocol, such as HTTP | |
map< string, string > | data |
the map of string data that will be required for the current request. | |
BESInfo * | error_info |
error information object |
This information is used throughout the BES framework to handle the request and to also store information for logging and reporting.
typedef map<string, string>::const_iterator _BESDataHandlerInterface::data_citer |
_BESDataHandlerInterface::_BESDataHandlerInterface | ( | ) | [inline] |
void _BESDataHandlerInterface::set_output_stream | ( | ostream * | strm | ) | [inline] |
Referenced by BESInterface::BESInterface().
ostream& _BESDataHandlerInterface::get_output_stream | ( | ) | [inline] |
Referenced by BESStreamResponseHandler::execute(), BESFilterTransmitter::send_basic_das(), BESDapTransmit::send_basic_das(), BESFilterTransmitter::send_basic_data(), BESDapTransmit::send_basic_data(), BESFilterTransmitter::send_basic_dds(), BESDapTransmit::send_basic_dds(), BESFilterTransmitter::send_basic_ddx(), BESDapTransmit::send_basic_ddx(), BESFilterTransmitter::send_html(), BESBasicTransmitter::send_html(), BESBasicHttpTransmitter::send_html(), BESDapTransmit::send_http_das(), BESDapTransmit::send_http_dds(), BESDapTransmit::send_http_ddx(), BESFilterTransmitter::send_text(), BESBasicTransmitter::send_text(), and BESBasicHttpTransmitter::send_text().
void _BESDataHandlerInterface::first_container | ( | ) | [inline] |
set the container pointer to the first container in the containers list
References container, containers, and containers_iterator.
Referenced by BESInterface::end_request(), BESStreamResponseHandler::execute(), BESDefineResponseHandler::execute(), BESRequestHandlerList::execute_each(), BESRequestHandlerList::execute_once(), BESDefineCommand::parse_request(), BESDapTransmit::send_basic_das(), BESFilterTransmitter::send_basic_data(), BESDapTransmit::send_basic_data(), BESFilterTransmitter::send_basic_dds(), BESDapTransmit::send_basic_dds(), BESFilterTransmitter::send_basic_ddx(), and BESDapTransmit::send_basic_ddx().
void _BESDataHandlerInterface::next_container | ( | ) | [inline] |
set the container pointer to the next * container in the list, null if at the end or no containers in list
References container, containers, and containers_iterator.
Referenced by BESInterface::end_request(), BESDefineResponseHandler::execute(), BESRequestHandlerList::execute_each(), and BESDefineCommand::parse_request().
const map<string, string>& _BESDataHandlerInterface::data_c | ( | ) | const [inline] |
References data.
void BESDataHandlerInterface::dump | ( | ostream & | strm | ) | const |
References action, action_name, container, containers, data, BESInfo::dump(), BESContainer::dump(), BESResponseHandler::dump(), error_info, BESIndent::Indent(), BESIndent::LMarg(), response_handler, transmit_protocol, and BESIndent::UnIndent().
Referenced by BESCmdInterface::build_data_request_plan(), BESInterface::dump(), and operator<<().
list<BESContainer *>::iterator _BESDataHandlerInterface::containers_iterator |
Referenced by first_container(), and next_container().
pointer to current container in this interface
Referenced by dump(), BESInterface::end_request(), BESStreamResponseHandler::execute(), BESDefineResponseHandler::execute(), BESRequestHandlerList::execute_current(), BESRequestHandlerList::execute_each(), first_container(), next_container(), BESDefineCommand::parse_request(), BESConstraintFuncs::post_append(), BESDapTransmit::send_basic_das(), BESDapTransmit::send_basic_dds(), and BESDapTransmit::send_basic_ddx().
the response object requested, e.g. das, dds
Referenced by BESCgiInterface::build_data_request_plan(), dump(), BESDDXResponseHandler::execute(), BESRequestHandlerList::execute_all(), BESRequestHandlerList::execute_current(), BESInterface::execute_data_request_plan(), BESShowCommand::parse_request(), BESSetContextCommand::parse_request(), BESSetContainerCommand::parse_request(), BESGetCommand::parse_request(), BESDelDefsCommand::parse_request(), BESDelDefCommand::parse_request(), BESDelContainersCommand::parse_request(), BESDelContainerCommand::parse_request(), BESDefineCommand::parse_request(), and BESCatalogCommand::parse_request().
Referenced by dump(), BESVersionResponseHandler::execute(), BESStatusResponseHandler::execute(), BESShowDefsResponseHandler::execute(), BESShowContextResponseHandler::execute(), BESShowContainersResponseHandler::execute(), BESSetContextResponseHandler::execute(), BESSetContainerResponseHandler::execute(), BESProcIdResponseHandler::execute(), BESHelpResponseHandler::execute(), BESDelDefsResponseHandler::execute(), BESDelDefResponseHandler::execute(), BESDelContainersResponseHandler::execute(), BESDelContainerResponseHandler::execute(), BESDefineResponseHandler::execute(), BESDDXResponseHandler::execute(), BESDDSResponseHandler::execute(), BESDataResponseHandler::execute(), BESDASResponseHandler::execute(), BESConfigResponseHandler::execute(), BESCatalogResponseHandler::execute(), and BESExceptionManager::handle_exception().
request protocol, such as HTTP
Referenced by BESCgiInterface::BESCgiInterface(), dump(), BESApacheInterface::exception_manager(), BESCmdInterface::initialize(), and BESApacheInterface::initialize().
map<string, string> _BESDataHandlerInterface::data |
the map of string data that will be required for the current request.
Referenced by BESCmdInterface::BESCmdInterface(), BESCmdInterface::build_data_request_plan(), BESCmdInterface::clean(), data_c(), dump(), BESInterface::end_request(), BESSetContextResponseHandler::execute(), BESSetContainerResponseHandler::execute(), BESDelDefsResponseHandler::execute(), BESDelDefResponseHandler::execute(), BESDelContainersResponseHandler::execute(), BESDelContainerResponseHandler::execute(), BESDefineResponseHandler::execute(), BESCatalogResponseHandler::execute(), BESRequestHandlerList::execute_current(), BESInterface::execute_data_request_plan(), BESCmdInterface::execute_data_request_plan(), BESInterface::execute_request(), BESInterface::initialize(), BESApacheInterface::initialize(), BESInterface::invoke_aggregation(), BESCmdInterface::invoke_aggregation(), BESCmdInterface::log_status(), BESSetCommand::parse_options(), BESDefineCommand::parse_options(), BESSetContextCommand::parse_request(), BESSetContainerCommand::parse_request(), BESGetCommand::parse_request(), BESDelDefsCommand::parse_request(), BESDelDefCommand::parse_request(), BESDelContainersCommand::parse_request(), BESDelContainerCommand::parse_request(), BESDefineCommand::parse_request(), BESCatalogCommand::parse_request(), BESConstraintFuncs::post_append(), BESFilterTransmitter::send_basic_data(), BESDapTransmit::send_basic_data(), BESFilterTransmitter::send_basic_dds(), BESDapTransmit::send_basic_dds(), BESFilterTransmitter::send_basic_ddx(), BESDapTransmit::send_basic_ddx(), BESInterface::transmit_data(), and BESCmdInterface::transmit_data().
error information object
Referenced by dump(), BESInterface::finish(), BESInterface::finish_with_error(), BESExceptionManager::handle_exception(), BESDapError::handleException(), BESCmdInterface::log_status(), and BESInterface::transmit_data().