38 #include "BESWWWModule.h"
41 #include "BESWWWNames.h"
42 #include "BESDapNames.h"
43 #include "BESResponseNames.h"
44 #include "BESResponseHandlerList.h"
45 #include "BESWWWResponseHandler.h"
47 #include "BESWWWRequestHandler.h"
48 #include "BESRequestHandlerList.h"
50 #include "BESDapService.h"
52 #include "BESWWWTransmit.h"
53 #include "BESTransmitter.h"
54 #include "BESReturnManager.h"
55 #include "BESTransmitterNames.h"
57 #include "BESXMLWWWGetCommand.h"
59 void BESWWWModule::initialize(
const string & modname)
61 BESDEBUG(
"www",
"Initializing OPeNDAP WWW module " << modname << endl);
64 BESRequestHandlerList::TheList()->
add_handler(modname, handler);
66 BESResponseHandlerList::TheList()->
add_handler(WWW_RESPONSE, BESWWWResponseHandler::WWWResponseBuilder);
70 BESTransmitter *t = BESReturnManager::TheManager()->find_transmitter( DAP2_FORMAT);
72 t->add_method( WWW_TRANSMITTER, BESWWWTransmit::send_basic_form);
79 BESDEBUG(
"www",
"Done Initializing OPeNDAP WWW module " << modname << endl);
82 void BESWWWModule::terminate(
const string & modname)
84 BESDEBUG(
"www",
"Cleaning OPeNDAP WWW module " << modname << endl);
93 BESTransmitter *t = BESReturnManager::TheManager()->find_transmitter( DAP2_FORMAT);
95 t->remove_method(WWW_TRANSMITTER);
98 t = BESReturnManager::TheManager()->find_transmitter( DAP2_FORMAT);
100 t->remove_method(WWW_TRANSMITTER);
103 BESDEBUG(
"www",
"Done Cleaning OPeNDAP WWW module " << modname << endl);
114 strm << BESIndent::LMarg <<
"BESWWWModule::dump - (" << (
void *)
this <<
")" << endl;