ANNA Suite
2020b
Multipurpose development suite for Telco applications
|
#include <Database.hpp>
Public Member Functions | |
Database (const char *dbmsName) | |
Database (const char *componentName, const char *dbmsName) | |
virtual | ~Database () |
OCIError * | getErrorHandler () |
operator OCIEnv * () | |
![]() | |
const Type & | getType () const |
const std::string & | getName () const |
void | setFailRecoveryHandler (FailRecoveryHandler *failRecoveryHandler) |
void | setStatementTranslator (StatementTranslator *statementTranslator) |
Connection * | createConnection (const char *name, const char *user, const char *password) noexcept(false) |
Connection & | findConnection (const char *name) noexcept(false) |
const_connection_iterator | connection_begin () const |
const_connection_iterator | connection_end () const |
Statement * | createStatement (const char *name, const char *expression, const bool isCritical=true) noexcept(false) |
Statement * | createStatement (const char *name, const std::string &expression, const bool isCritical=true) noexcept(false) |
Statement * | findStatement (const char *name) |
void | releaseStatement (Statement *statement) |
const_statement_iterator | statement_begin () const |
const_statement_iterator | statement_end () const |
virtual std::string | asString () const |
virtual xml::Node * | asXML (xml::Node *parent) const |
![]() | |
virtual | ~Component () |
void | attach () noexcept(false) |
![]() | |
const char * | getClassName () const |
![]() | |
Mutex (const Mode::_v mode=Mode::Recursive) | |
virtual | ~Mutex () |
virtual void | lock () noexcept(false) |
virtual void | unlock () |
bool | trylock () noexcept(false) |
operator const pthread_mutex_t * () const | |
Static Public Member Functions | |
static const char * | getClassName () |
static char | getDecimalPoint () |
![]() | |
static Statement * | statement (const_statement_iterator &ii) |
static const Connection * | connection (const_connection_iterator &ii) |
Additional Inherited Members | |
![]() | |
typedef std::vector< Connection * >::const_iterator | const_connection_iterator |
typedef std::vector< Statement * >::const_iterator | const_statement_iterator |
![]() | |
static const int | MaxConnection = 32 |
![]() | |
typedef std::vector< Connection * >::iterator | connection_iterator |
![]() | |
Database (const char *rdbmsmsName, const char *dbmsName) | |
void | recover (Connection &connection, const int tryCounter) noexcept(false) |
virtual void | do_stop () |
connection_iterator | connection_begin () |
connection_iterator | connection_end () |
![]() | |
Component (const char *className) | |
State::_v | getState () const |
void | addPredecessor (const char *componentName) |
void | initialize () noexcept(false) |
void | stop () |
virtual void | kill () |
![]() | |
Component (const char *className) | |
Component (const Component &other) | |
![]() | |
Safe () | |
![]() | |
static Connection * | connection (connection_iterator &ii) |
![]() | |
const std::string | a_className |
Clase que modela la interaccion entre la RDMS Oracle (tm) y nuestra aplicacion.
anna::dbms::oracle::Database::Database | ( | const char * | dbmsName | ) |
Contructor.
dbmsName | Nombre de la base de datos. |
anna::dbms::oracle::Database::Database | ( | const char * | componentName, |
const char * | dbmsName | ||
) |
Contructor.
componentName | Nombre logico de la base de datos por que el podemos buscar este compoenente. |
dbmsName | Nombre de la base de datos. |
|
virtual |
Destructor.
Reimplemented from anna::dbms::Database.
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |