bes
Updated for version 3.20.5
|
35 #include "FoCovJsonModule.h"
36 #include "FoDapCovJsonTransmitter.h"
37 #include "FoCovJsonRequestHandler.h"
38 #include "BESRequestHandlerList.h"
40 #include <BESReturnManager.h>
42 #include <BESServiceRegistry.h>
43 #include <BESDapNames.h>
45 #include <TheBESKeys.h>
48 #define RETURNAS_COVJSON "covjson"
49 #define RETURNAS_ICOVJSON "covjson"
64 BESDEBUG(
"focovjson",
"Initializing module " << modname << endl );
67 BESRequestHandlerList::TheList()->
add_handler(modname, handler);
70 BESDEBUG(
"focovjson",
" adding " << RETURNAS_COVJSON <<
" transmitter" << endl );
75 BESDEBUG(
"focovjson",
"Done Initializing module " << modname << endl );
88 BESDEBUG(
"focovjson",
"Cleaning module " << modname << endl );
89 BESDEBUG(
"focovjson",
" removing " << RETURNAS_COVJSON <<
" transmitter" << endl );
91 BESReturnManager::TheManager()->del_transmitter(RETURNAS_COVJSON);
93 BESDEBUG(
"focovjson",
" removing " << modname <<
" request handler " << endl );
99 BESDEBUG(
"focovjson",
"Done Cleaning module " << modname << endl );
110 strm << BESIndent::LMarg <<
"FoCovJsonModule::dump - (" << (
void *)
this <<
")" << endl;
Represents a specific data type request handler.
virtual BESRequestHandler * remove_handler(const std::string &handler_name)
remove and return the specified request handler
virtual void initialize(const string &modname)
initialize the module by adding call backs and registering objects with the framework
virtual void terminate(const string &modname)
removes any registered callbacks or objects from the framework
virtual void dump(ostream &strm) const
dumps information about this object for debugging purposes
virtual bool add_handler(const std::string &handler_name, BESRequestHandler *handler)
add a request handler to the list of registered handlers for this server
static void Register(const std::string &flagName)
register the specified debug flag
Module that allows for OPeNDAP Data objects to be returned as geotiff files.
BESTransmitter class named "json" that transmits an OPeNDAP data object as a JSON file.
A Request Handler for the Fileout NetCDF request.