40 #include "BESWWWModule.h"
43 #include "BESWWWNames.h"
44 #include "BESDapNames.h"
45 #include "BESResponseNames.h"
46 #include "BESResponseHandlerList.h"
47 #include "BESWWWResponseHandler.h"
49 #include "BESWWWRequestHandler.h"
50 #include "BESRequestHandlerList.h"
52 #include "BESDapService.h"
54 #include "BESWWWTransmit.h"
55 #include "BESTransmitter.h"
56 #include "BESReturnManager.h"
57 #include "BESTransmitterNames.h"
59 #include "BESXMLWWWGetCommand.h"
61 void BESWWWModule::initialize(
const string & modname)
63 BESDEBUG(
"www",
"Initializing OPeNDAP WWW module " << modname << endl);
66 BESRequestHandlerList::TheList()->
add_handler(modname, handler);
68 BESResponseHandlerList::TheList()->
add_handler(WWW_RESPONSE, BESWWWResponseHandler::WWWResponseBuilder);
72 BESTransmitter *t = BESReturnManager::TheManager()->find_transmitter( DAP2_FORMAT);
74 t->add_method( WWW_TRANSMITTER, BESWWWTransmit::send_basic_form);
81 BESDEBUG(
"www",
"Done Initializing OPeNDAP WWW module " << modname << endl);
84 void BESWWWModule::terminate(
const string & modname)
86 BESDEBUG(
"www",
"Cleaning OPeNDAP WWW module " << modname << endl);
95 BESTransmitter *t = BESReturnManager::TheManager()->find_transmitter( DAP2_FORMAT);
97 t->remove_method(WWW_TRANSMITTER);
100 t = BESReturnManager::TheManager()->find_transmitter( DAP2_FORMAT);
102 t->remove_method(WWW_TRANSMITTER);
105 BESDEBUG(
"www",
"Done Cleaning OPeNDAP WWW module " << modname << endl);
116 strm << BESIndent::LMarg <<
"BESWWWModule::dump - (" << (
void *)
this <<
")" << endl;