32#include <BESRequestHandlerList.h>
34#include <BESContainerStorageList.h>
36#include "NgapModule.h"
37#include "NgapRequestHandler.h"
38#include "NgapContainerStorage.h"
43void NgapModule::initialize(
const string &modname)
45 BESDEBUG(modname,
"Initializing NGAP Module " << modname << endl);
47 BESDEBUG(modname,
" adding " << modname <<
" request handler" << endl);
50 BESDEBUG(modname,
" adding " << modname <<
" container storage" << endl);
54 BESDEBUG(modname,
" initialize the NGAP utilities and params" << endl);
55 NgapUtils::Initialize();
58 BESDEBUG(modname,
" adding NGAP debug context" << endl);
67 BESDEBUG(modname,
"Done Initializing NGAP Module " << modname << endl);
70void NgapModule::terminate(
const string &modname)
72 BESDEBUG(modname,
"Cleaning NGAP module " << modname << endl);
86 BESDEBUG(modname,
"Done Cleaning NGAP module " << modname << endl);
91 strm << BESIndent::LMarg <<
"NgapModule::dump - (" << (
void *)
this <<
")" << endl;
virtual bool add_persistence(BESContainerStorage *p)
Add a persistent store to the list.
static void Register(const std::string &flagName)
register the specified debug flag
virtual bool add_handler(const std::string &handler_name, BESRequestHandler *handler)
add a request handler to the list of registered handlers for this server
implementation of BESContainerStorageVolatile that represents a list of remote requests
virtual void dump(std::ostream &strm) const
dump the contents of this object to the specified ostream