31 #include "BESResponseHandlerList.h"
32 #include "BESReturnManager.h"
33 #include "BESRequestHandler.h"
34 #include "BESRequestHandlerList.h"
35 #include "BESXMLCommand.h"
37 #include "W10NModule.h"
38 #include "W10NNames.h"
39 #include "W10nJsonTransmitter.h"
40 #include "W10nJsonRequestHandler.h"
41 #include "W10nShowPathInfoResponseHandler.h"
42 #include "W10nShowPathInfoCommand.h"
43 #include "w10n_utils.h"
45 #define RETURNAS_W10N "w10n"
49 W10NModule::initialize(
const string &modname )
51 BESDEBUG(W10N_DEBUG_KEY,
"Initializing w10n Modules:" << endl ) ;
54 BESRequestHandlerList::TheList()->
add_handler(modname, handler);
58 BESDEBUG( W10N_DEBUG_KEY,
" adding " << W10N_SHOW_PATH_INFO_REQUEST <<
" command" << endl ) ;
61 BESDEBUG(W10N_DEBUG_KEY,
" adding " << W10N_SHOW_PATH_INFO_REQUEST_HANDLER_KEY <<
" response handler" << endl ) ;
62 BESResponseHandlerList::TheList()->
add_handler( W10N_SHOW_PATH_INFO_REQUEST_HANDLER_KEY, W10nShowPathInfoResponseHandler::W10nShowPathInfoResponseBuilder ) ;
64 BESDEBUG( W10N_DEBUG_KEY,
" adding " << RETURNAS_W10N <<
" transmitter" << endl );
69 BESDEBUG(W10N_DEBUG_KEY,
"Done Initializing w10n Modules." << endl ) ;
73 W10NModule::terminate(
const string & )
75 BESDEBUG(W10N_DEBUG_KEY,
"Removing w10n Modules:" << endl ) ;
79 BESDEBUG(W10N_DEBUG_KEY,
"Done Removing w10n Modules." << endl ) ;
91 strm << BESIndent::LMarg <<
"W10NModule::dump - ("
92 << (
void *)
this <<
")" << std::endl ;