24 #include <plugins/mongodb/aspect/mongodb.h> 25 #include <plugins/mongodb/aspect/mongodb_conncreator.h> 71 __config_name = config_name ? strdup(config_name) : 0;
78 if (__config_name) free(__config_name);
90 MongoDBAspect::init_MongoDBAspect(mongo::DBClientBase *
mongodb_client,
Fawkes library namespace.
mongo::DBClientBase * mongodb_client
MongoDB client to use to interact with the database.
MongoDBAspect(const char *config_prefix=0)
Constructor.
MongoDBConnCreator * mongodb_connmgr
Connection manager to retrieve more client connections from if necessary.
void add_aspect(const char *name)
Add an aspect to a thread.
virtual ~MongoDBAspect()
Virtual empty destructor.
Interface for a MongoDB connection creator.