response handler that builds an OPeNDAP Data DDS object More...
#include <BESDataResponseHandler.h>
Public Member Functions | |
BESDataResponseHandler (const string &name) | |
virtual void | dump (ostream &strm) const |
dumps information about this object | |
virtual void | execute (BESDataHandlerInterface &dhi) |
executes the command 'get data for <def_name>' by executing the request for each container in the specified definition | |
virtual void | transmit (BESTransmitter *transmitter, BESDataHandlerInterface &dhi) |
transmit the response object built by the execute command | |
virtual | ~BESDataResponseHandler (void) |
Static Public Member Functions | |
static BESResponseHandler * | DataResponseBuilder (const string &name) |
response handler that builds an OPeNDAP Data DDS object
A request 'get data for <def_name>' will be handled by this response handler. Given a definition name it determines what containers are to be used to build the response object. It then transmits the response object using the method send_data on the transmitter object.
Definition at line 50 of file BESDataResponseHandler.h.
BESDataResponseHandler::BESDataResponseHandler | ( | const string & | name | ) |
Definition at line 39 of file BESDataResponseHandler.cc.
Referenced by DataResponseBuilder().
BESDataResponseHandler::~BESDataResponseHandler | ( | void | ) | [virtual] |
Definition at line 44 of file BESDataResponseHandler.cc.
BESResponseHandler * BESDataResponseHandler::DataResponseBuilder | ( | const string & | name | ) | [static] |
Definition at line 111 of file BESDataResponseHandler.cc.
References BESDataResponseHandler().
void BESDataResponseHandler::dump | ( | ostream & | strm | ) | const [virtual] |
dumps information about this object
Displays the pointer value of this instance
strm | C++ i/o stream to dump the information to |
Definition at line 101 of file BESDataResponseHandler.cc.
void BESDataResponseHandler::execute | ( | BESDataHandlerInterface & | dhi | ) | [virtual] |
executes the command 'get data for <def_name>' by executing the request for each container in the specified definition
For each container in the specified defnition go to the request handler for that container and have it add to the OPeNDAP DataDDS data response object. The data response object is created within this method and passed to the request handler list.
dhi | structure that holds request and response information |
Definition at line 63 of file BESDataResponseHandler.cc.
void BESDataResponseHandler::transmit | ( | BESTransmitter * | transmitter, | |
BESDataHandlerInterface & | dhi | |||
) | [virtual] |
transmit the response object built by the execute command
If a response object was built then transmit it using the send_data method on the specified transmitter object.
transmitter | object that knows how to transmit specific basic types | |
dhi | structure that holds the request and response information |
Definition at line 85 of file BESDataResponseHandler.cc.