#include <interfaces.hpp>
Inheritance diagram for I_Connection:

Definition at line 1089 of file interfaces.hpp.
Public Member Functions | |
| I_Connection (void) | |
| virtual | ~I_Connection (void) |
| CDB_LangCmd * | LangCmd (const string &lang_query, unsigned int) |
| CDB_RPCCmd * | RPC (const string &rpc_name, unsigned int) |
| CDB_BCPInCmd * | BCPIn (const string &table_name, unsigned int) |
| CDB_CursorCmd * | Cursor (const string &cursor_name, const string &query, unsigned int, unsigned int batch_size) |
Protected Member Functions | |
| virtual bool | IsAlive (void)=0 |
| Check out if connection is alive. | |
| virtual CDB_LangCmd * | LangCmd (const string &lang_query)=0 |
| Language command. | |
| virtual CDB_RPCCmd * | RPC (const string &rpc_name)=0 |
| Remote procedure call. | |
| virtual CDB_BCPInCmd * | BCPIn (const string &table_name)=0 |
| "Bulk copy in" command | |
| virtual CDB_CursorCmd * | Cursor (const string &cursor_name, const string &query, unsigned int batch_size)=0 |
| Cursor. | |
| CDB_CursorCmd * | Cursor (const string &cursor_name, const string &query) |
| virtual CDB_SendDataCmd * | SendDataCmd (I_ITDescriptor &desc, size_t data_size, bool log_it=true)=0 |
| Create send-data command. | |
| virtual bool | SendData (I_ITDescriptor &desc, CDB_Stream &lob, bool log_it=true)=0 |
| Shortcut to send text and image to the server without using the "Send-data" command (SendDataCmd). | |
| virtual bool | Refresh (void)=0 |
| Reset the connection to the "ready" state (cancel all active commands). | |
| virtual const string & | ServerName (void) const =0 |
| Get the server name. | |
| virtual const string & | UserName (void) const =0 |
| Get the user user. | |
| virtual const string & | Password (void) const =0 |
| Get the password. | |
| virtual const string & | DatabaseName (void) const =0 |
| Get the database name. | |
| virtual I_DriverContext::TConnectionMode | ConnectMode (void) const =0 |
| Get the bitmask for the connection mode (BCP, secure login, . | |
| virtual bool | IsReusable (void) const =0 |
| Check if this connection is a reusable one. | |
| virtual const string & | PoolName (void) const =0 |
| Find out which connection pool this connection belongs to. | |
| virtual I_DriverContext * | Context (void) const =0 |
| Get pointer to the driver context. | |
| virtual void | PushMsgHandler (CDB_UserHandler *h, EOwnership ownership=eNoOwnership)=0 |
| Put the message handler into message handler stack. | |
| virtual void | PopMsgHandler (CDB_UserHandler *h)=0 |
| Remove the message handler (and all above it) from the stack. | |
| virtual CDB_ResultProcessor * | SetResultProcessor (CDB_ResultProcessor *rp)=0 |
| Set new result-processor. | |
| virtual bool | Abort (void)=0 |
| Abort the connection. | |
| virtual bool | Close (void)=0 |
| Close an open connection. | |
| virtual void | SetTimeout (size_t nof_secs)=0 |
| Set connection timeout. | |
|
|
Definition at line 325 of file interfaces.cpp. |
|
|
Definition at line 329 of file interfaces.cpp. |
|
|
Abort the connection.
Implemented in CDB_Connection. |
|
||||||||||||
|
Reimplemented in CDB_Connection. Definition at line 1312 of file interfaces.hpp. References BCPIn(). |
|
|
"Bulk copy in" command
Implemented in CDB_Connection. Referenced by BCPIn(). |
|
|
Close an open connection. This method will return connection (if it is created as reusable) to its connection pool
Implemented in CDB_Connection. |
|
|
Get the bitmask for the connection mode (BCP, secure login, . ..)
Implemented in CDB_Connection. |
|
|
Get pointer to the driver context.
Implemented in CDB_Connection. |
|
||||||||||||||||||||
|
Reimplemented in CDB_Connection. Definition at line 1317 of file interfaces.hpp. References Cursor(). |
|
||||||||||||
|
Reimplemented in CDB_Connection. Definition at line 1124 of file interfaces.hpp. References Cursor(). |
|
||||||||||||||||
|
Cursor.
Implemented in CDB_Connection. Referenced by Cursor(). |
|
|
Get the database name.
Implemented in CDB_Connection. |
|
|
Check out if connection is alive. This function doesn't ping the server, it just checks the status of connection which was set by the last i/o operation.
Implemented in CDB_Connection. |
|
|
Check if this connection is a reusable one.
Implemented in CDB_Connection. |
|
||||||||||||
|
Reimplemented in CDB_Connection. Definition at line 1302 of file interfaces.hpp. References LangCmd(). |
|
|
Language command. On error, an exception will be thrown (they never return NULL!). It is the user's responsibility to delete the returned "command" object. Implemented in CDB_Connection. Referenced by LangCmd(). |
|
|
Get the password.
Implemented in CDB_Connection. |
|
|
Find out which connection pool this connection belongs to.
Implemented in CDB_Connection. |
|
|
Remove the message handler (and all above it) from the stack.
Implemented in CDB_Connection. |
|
||||||||||||
|
Put the message handler into message handler stack.
Implemented in CDB_Connection. |
|
|
Reset the connection to the "ready" state (cancel all active commands).
Implemented in CDB_Connection. |
|
||||||||||||
|
Reimplemented in CDB_Connection. Definition at line 1307 of file interfaces.hpp. References RPC(). |
|
|
Remote procedure call.
Implemented in CDB_Connection. Referenced by RPC(). |
|
||||||||||||||||
|
Shortcut to send text and image to the server without using the "Send-data" command (SendDataCmd).
Implemented in CDB_Connection. |
|
||||||||||||||||
|
Create send-data command.
Implemented in CDB_Connection. |
|
|
Get the server name.
Implemented in CDB_Connection. |
|
|
Set new result-processor.
Implemented in CDB_Connection. |
|
|
Set connection timeout.
Implemented in CDB_Connection. |
|
|
Get the user user.
Implemented in CDB_Connection. |
1.4.6
Modified on Mon Dec 07 16:24:24 2009 by modify_doxy.py rev. 173732