Location:
btsdp.h
Link against: sdpdatabase.lib
class RSdp : public RSessionBase;
Provides a session to the Service Discovery Database.
Used to create subsessions to database functionality. A clients must create and connect a session, before using a RSdpDatabase
subsession to access the database.
RHandleBase
- A handle to an object
RSessionBase
- Client-side handle to a session with a server
RSdp
- Provides a session to the Service Discovery Database
Defined in RSdp
:
Connect()
, RSdp()
, ResourceCount()
, ResourceCountMarkEnd()
, ResourceCountMarkStart()
, Version()
Inherited from RHandleBase
:
Attributes()
,
Close()
,
Duplicate()
,
FullName()
,
Handle()
,
HandleInfo()
,
Name()
,
SetHandle()
,
SetHandleNC()
,
iHandle
Inherited from RSessionBase
:
CreateSession()
,
EAutoAttach
,
EExplicitAttach
,
Open()
,
Send()
,
SendReceive()
,
SetReturnedHandle()
,
ShareAuto()
,
ShareProtected()
,
TAttachMode
IMPORT_C TInt Connect();
Connects a client process to the database.
The connection should be closed after use with RHandleBase::Close()
.
|
IMPORT_C TVersion Version() const;
Gets the version of the database server.
|
IMPORT_C void ResourceCountMarkStart();
Starts the counter to keep track of open subsessions.
This should be used by clients to do resource leakage debugging checks.
IMPORT_C void ResourceCountMarkEnd();
Stops the counter to keep track of open subsessions.
This should be used by clients to do resource leakage debugging checks.
IMPORT_C TInt ResourceCount();
Gets the number of open subsessions to the database.
This should be used by clients to do resource leakage debugging checks.
|