Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



The DBMS server

A session with the DBMS server provides the basis for sharing databases with other threads; the DBMS server allows shared read/write access to databases by multiple clients.

A session with the DBMS server is set up through an instance of the RDbs class. The behaviour of this class is similar to other session classes, for example, the file server session class, RFs.

A client opens a connection with the DBMS server using the Connect() member function of RDbs and closes the connection by calling Close() on RDbs.

Some useful points to note:

Shared databases support all DBMS API functionality except database creation and changing the security key:

The client server interface offers utility functions which allow the client to check the number of allocated DBMS objects.

The interface also offers heap debugging support for the server's heap.