Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

DBStreamerFactory Class Reference

#include <dbstreamerfactory.hpp>

Inheritance diagram for DBStreamerFactory:

Inheritance graph
[legend]
Collaboration diagram for DBStreamerFactory:

Collaboration graph
[legend]
List of all members.

Detailed Description

Base DBOBJ handler class. Provides its descendants with definition cache and OTL init/ terminate functionnalities top .

Definition at line 75 of file dbstreamerfactory.hpp.

Public Methods

 DBStreamerFactory ()
 Constructor. Inits private data members. Inits OTL.

virtual ~DBStreamerFactory ()
 Destructor. Destroys definitions from definition cache and releases private data members. Teminates OTL.

otl_connect * getConnection (const char *p_pszConnectionString, unsigned int p_uiThreadId)
void releaseConnection (const char *p_pszConnectionString, unsigned int p_uiThreadId)
void tick (unsigned long p_ulClock)
 Time ticker method. This method is to be called periodically by a separate thread for the handler to make its state maintenance tasks.


Static Public Methods

void setSQLSyntax (const char *p_pszSQLSyntax=0)
unsigned int getSQLSyntax ()


Constructor & Destructor Documentation

DBStreamerFactory::DBStreamerFactory  
 

Constructor. Inits private data members. Inits OTL.

Definition at line 76 of file dbstreamerfactory.cpp.

References DBConnectionPool, DEBUG_CREATE, DEBUG_ECHO, and XMLProcessor::getThreadCount().

DBStreamerFactory::~DBStreamerFactory   [virtual]
 

Destructor. Destroys definitions from definition cache and releases private data members. Teminates OTL.

Definition at line 112 of file dbstreamerfactory.cpp.

References DEBUG_DEL, and XMLProcessor::getThreadCount().


Member Function Documentation

otl_connect * DBStreamerFactory::getConnection const char *    p_pszConnectionString,
unsigned int    p_uiThreadId
 

Definition at line 145 of file dbstreamerfactory.cpp.

References DEBUG_FUNC.

unsigned int DBStreamerFactory::getSQLSyntax   [static]
 

Definition at line 68 of file dbstreamerfactory.cpp.

Referenced by AutodescStreamer::completeDefinitionNode(), DDLStreamer::getColumnDDL_Simple(), DBOBJSetStreamer::getFieldBindVar(), and SAXDBOBJDefinitionBuilder::startElement().

void DBStreamerFactory::releaseConnection const char *    p_pszConnectionString,
unsigned int    p_uiThreadId
 

Definition at line 156 of file dbstreamerfactory.cpp.

References DEBUG_FUNC.

BEGIN_XDFLENGINE_NS void DBStreamerFactory::setSQLSyntax const char *    p_pszSQLSyntax = 0 [static]
 

Definition at line 54 of file dbstreamerfactory.cpp.

References SQL_SYNTAX_DB2, SQL_SYNTAX_MSSQL, and SQL_SYNTAX_ORA.

void DBStreamerFactory::tick unsigned long    p_ulClock [virtual]
 

Time ticker method. This method is to be called periodically by a separate thread for the handler to make its state maintenance tasks.

Parameters:
p_ulClock (long) current time, in tick counts.

Reimplemented from XMLStreamerFactory.

Definition at line 167 of file dbstreamerfactory.cpp.

References DEBUG_FUNC, and XMLProcessor::getThreadCount().


The documentation for this class was generated from the following files:
Generated on Sat Oct 4 13:23:54 2003 for XDFLengine by doxygen1.3-rc2